我得到了 windows 7 x64,当我在未能完成这些说明后弄清楚如何构建 bjam.exe 文件时,正在 dl'ing windows 7 .net 4 sdk
但是当我运行 bjam 时,我仍然失败。
这些是我做的步骤
必须将 f:\codeblocks\mingw\bin 添加到路径然后以管理员身份打开命令提示符(而不是在路径之前),然后从 boost_1_51_0\tools\build\v2\engine\build.bat 运行
那我可以做
bjam --toolset=gcc "--prefix=<installpath>" install
但是当我这样做时会收到此消息
F:\libraries\boost_1_51_0>bjam --toolset=gcc "--prefix=f:\codeblocks" install --
build-type=complete
warning: mismatched versions of Boost.Build engine and core
warning: Boost.Build engine (bjam) is 03.1.18
warning: Boost.Build core (at F:/libraries/boost_1_51_0/tools/build/v2) is 2011.
12-svn
F:/libraries/boost_1_51_0/tools/build/v2/util\path.jam:476: in path.makedirs
rule MAKEDIR unknown in module path.
F:/libraries/boost_1_51_0/tools/build/v2/build\configure.jam:190: in configure.s
et-log-file
F:/libraries/boost_1_51_0/tools/build/v2\build-system.jam:725: in load
F:\libraries\boost_1_51_0\tools\build\v2/kernel\modules.jam:283: in import
F:\libraries\boost_1_51_0\tools\build\v2\kernel\bootstrap.jam:142: in boost-buil
d
F:\libraries\boost_1_51_0\boost-build.jam:17: in module scope
几乎看起来 linux 路径正在混入其中