【发布时间】:2017-08-02 09:03:15
【问题描述】:
回顾一个老话题,我说here 中描述的解决方法在我的电脑上不起作用(Windows 7、Visual Studio 2015 社区版/更新 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 库吗?
提前致谢,
罗伯特
【问题讨论】:
-
我遇到了和你一样的问题。我安装了 Windows 10 SDK 10.0.15063.0 并设法获得了编译。我在构建库时使用 vs2015 x86 或 x64 本机工具命令提示符。
-
您可以下载带有 预编译 windows 二进制文件的 boost 库 - dl.bintray.com/boostorg/release/1.64.0/binaries 您可以在官方 boost 页面中找到此链接 - boost.org/users/history/version_1_64_0.html(参见 - Windows 二进制文件)
-
我遇到了同样的问题。你解决了这个问题吗?可以分享一下吗?
-
我在这里使用了 Windows 预构建的二进制文件:sourceforge.net/projects/boost/files/boost-binaries