我已经能够使用以下命令在Windows Vista上编译boost:
bootstrap.bat
bjam.exe --with-filesystem --with-thread --toolset=msvc
Run Code Online (Sandbox Code Playgroud)
但是,当我在Windows 7上发出相同的命令时,我得到了这个:
'failed to write output file 'bin.v2\libs\thread\build\msvc-8.0\release\link-static\threading-multi\libboost_thread-vc80-mt-1_48.lib.rsp'!'
Run Code Online (Sandbox Code Playgroud)
我究竟做错了什么?
小智 5
您可以使用bjam.exe --abbreviate-paths
在此处找到:http://lists.boost.org/boost-build/2007/01/16028.php
我有类似的问题,这个开关对我帮助很大(尽管没有记录).