回顾一个旧主题,我指出here中描述的解决方法在我的PC上不起作用(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:\windows\system32添加到系统环境变量path后,此问题得到解决。

10-07 19:16
查看更多