我非常沮喪地安裝boost。是的,我確實在網上閱讀過大量的資料,包括原始(提升)指南和stackexchange上的許多類似主題,但它沒有幫助。使長話短說:在windows上安裝boost 10
- 我有VS2015(社區版)
- boost_1_62_0(下載)
- MinGW的(以防萬一)
爲常勸,我發起了開發商命令提示符(爲了有msvs啓動),結果是:
C:\Users\Arnold\Desktop\boost_1_62_0>bootstrap.bat
Building Boost.Build engine
'cl' is not recognized as an internal or external command,
operable program or batch file.
Failed to build Boost.Build engine.
Please consult bootstrap.log for further 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 bootstrap.log in that case.
基本上,這意味着系統不能找到一個編譯器。我嘗試在常規根cmd(「。\ bootstrap.bat gcc」)中添加'gcc'來運行,但獲得了相同的結果。
我BOOTSTRAP.LOG文件是:
###
### Using 'gcc' toolset.
###
C:\Users\Arnold\Desktop\boost_1_62_0\tools\build\src\engine>if exist bootstrap rd /S /Q bootstrap
C:\Users\Arnold\Desktop\boost_1_62_0\tools\build\src\engine>md bootstrap
C:\Users\Arnold\Desktop\boost_1_62_0\tools\build\src\engine>gcc -DNT -o bootstrap\jam0.exe command.c compile.c constants.c debug.c execcmd.c execnt.c filent.c frames.c function.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c object.c option.c output.c parse.c pathnt.c pathsys.c regexp.c rules.c scan.c search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c md5.c class.c cwd.c w32_getreg.c native.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c
是使用VS2015一個更好的主意嗎?任何線索?
UPD 內容我的C:\ Program Files文件(x86)的\微軟的Visual Studio 14.0 \ VC \ BIN:
@perte,謝謝!成功了! –