21 Feb
2026
21 Feb
'26
7:13 a.m.
чт, 12 февр. 2026 г. в 19:05, Johannes Luber via Boost-users <boost-users@lists.boost.org>:
But when I try to execute the following command to see if everything worked
b2 --show-libraries
then b2 restarts the compilation:
This is a known bug that is already fixed in master.
I've cleaned everything and restarted the build, but no change. I tried also the minimum bjam files to see if this works:
test.jam: "exe hello : hello.cpp ;"
hello.cpp: "int main() { return 0; }"
b2 -f test.jam
which yields the following output:
D:\...\Boost>b2 -f test.jam test.jam:1: in module scope ERROR: rule "exe" unknown in root module.
This is because exe rule requires b2's "standard library". The flag -f only results in b2 only loading the file you specified.