回想起一个老话题,我注意到 here 中描述的解决方法无法在我的电脑上运行(Windows 7、Visual Studio 2015 Community Edition/Update 3)。隐藏指定目录后,bootstrap 会产生典型的错误消息:
c:\boost_1_64_0>bootstrap
Building Boost.Build engine
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.
在我发现的 bootstrap.log 文件中:
...
c:\boost_1_64_0\tools\build\src\engine\jam.h(71): fatal error C1034: ctype.h: Kein Suchpfad für Headerdateien vorhanden (no include path set)
compile.c
c:\boost_1_64_0\tools\build\src\engine\jam.h(71): fatal error C1034: ctype.h: Kein Suchpfad für Headerdateien vorhanden (no include path set)
constants.c
debug.c
等等
有没有人知道如何解决这个问题?或者我可以在 Visual Studio 的 UI 中构建 boost 库吗?
提前致谢
罗伯特
最佳答案
遇到和你一样的问题。
我在系统环境变量path
中添加c:\windows\system32
后问题解决。
关于c++ - 使用 Bootstrap/BoostBuild 和 Visual Studio 2015 安装 boost,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45456251/