0
我在用bjam.exe編譯boost 1.49。我找到了命令行:在gcc下用win xp編譯提示
bjam.exe toolset=gcc variant=release threading=multi link=static boost_thread
但它拋出一些錯誤:
warning: mismatched versions of Boost.Build engine and core
warning: Boost.Build engine (bjam.exe) is 03.1.18
warning: Boost.Build core (at ./tools/build/vs) is 2011.04-svn
./tools/build/vs/tools/gcc.jam:129: in gcc.init from module gcc
error: toolset gcc initialization
error: no command provided, default command 'g++' not found
error: initialized from ./tools/build/v2/user-config.jam:42
./tools/build/v2/build/toolset.jam:38 in toolset.using from module toolset
./tools/build/v2/build/project.jam:888 in using from module project-rules
./tools/build/v2/user-config.jam:42 in modules.load from module user-config
./tools/build/v2/build-system.jam:257 in load-config from module build-system
./tools/build/v2/build-system.jam:399 in load-configuration-files from module build-system
./tools/build/v2/build-system.jam:555: in load from module build-system
./tools/build/v2/kernel/modules.jam:283: in import from module modules
./tools/build/v2/kernel/bootstrap.jam:142: in boost-build from module
./boost-build.jam:17: in module scope from module
我怎樣才能讓bjam的知道在哪裏的gcc(我與MinGW和代碼塊安裝)?我怎樣才能擁有正確的版本?
是什麼w3s在這一主題接觸?爲什麼stackoverflow不是正確的問點問題?但我會嘗試將MinGW添加到PATH中。 – JoshuaBehrens
@friedzis它只是編譯。我希望我可以在之後將它鏈接起來。 – JoshuaBehrens
@JoshuaBehrens對不起,從錯誤標籤複製了一個鏈接(已經打開了其他問題)(: – friendzis