相关疑难解决方法(0)

无法使用GCC构建Boost库

我正在使用Windows 7 64位,并希望从命令行编译非预编译库(具体来说,我需要Filesystem)(我不使用MSVC).我有MinGW,但在Boost网站上读到不支持MSYS shell,所以我试图从Windows命令提示符编译库.

首先,运行bootstrap.bat会导致以下错误:

Building Boost.Jam build engine 
'cl' is not recognized as an internal or external command, 
operable program or batch file. 

Failed to build Boost.Jam build engine. 
Please consult bjam.log for furter diagnostics. 

You can try to obtain a prebuilt binary from 

   http://sf.net/project/showfiles.php?group_id=7586&package_id=72941

Also, you can file an issue at http://svn.boost.org
Please attach bjam.log in that case. 
Run Code Online (Sandbox Code Playgroud)

另外,boost_root目录中的任何位置都没有bjam.log文件.

忽略此错误,并尝试运行下载的bjam.exe文件,我收到另一个错误:

c:/boost_1_45_0/tools/build/v2/build\configure.jam:145: in builds-raw
*** argument error
* rule UPDATE_NOW ( targets * : log ? : ignore-minus-n ? …
Run Code Online (Sandbox Code Playgroud)

gcc boost bjam

13
推荐指数
2
解决办法
2万
查看次数

标签 统计

bjam ×1

boost ×1

gcc ×1