【问题标题】:Installing boost with Bootstrap / BoostBuild and Visual Studio 2015使用 Bootstrap / BoostBuild 和 Visual Studio 2015 安装 boost
【发布时间】: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 库吗?

提前致谢,

罗伯特

【问题讨论】:

标签: c++ boost


【解决方案1】:

遇到和你一样的问题。 在我将c:\windows\system32 添加到系统环境变量path 后,此问题得到解决。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2016-04-08
    • 1970-01-01
    • 2018-10-14
    • 2015-10-28
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多