2017-08-02 25 views
1

回忆一个旧主题我说here中描述的解决方法在我的电脑(Windows 7,Visual Studio 2015 Community Edition/Update 3)上无效。隐藏指定的目录后,引导产生的典型错误信息:使用Bootstrap/BoostBuild和Visual Studio 2015安装boost

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库?

由于提前,

罗伯特

+0

我和你有同样的问题。我安装了Windows 10 SDK 10.0.15063.0并设法提高编译。构建库时,我使用vs2015 x86或x64本机工具命令提示符。 –

+0

你可以用**预编译的** windows二进制文件下载boost库 - https://dl.bintray.com/boostorg/release/1.64.0/binaries/这个链接你可以在官方boost页面找到 - http:// www .boost.org/users/history/version_1_64_0.html(请参阅 - Windows二进制文件) – SergV

+0

我遇到了同样的问题。你有解决这个问题,你可以分享吗? – ZDunker

回答

0

满足相同的问题,因为你。 在将c:\windows\system32添加到系统环境变量path后,此问题得到解决。