0
上http://www.boost.org/doc/libs/1_62_0/libs/python/doc/html/tutorial/tutorial/hello.htmlbjam的执行失败
指示我在文件夹的目录进入bjam
(C:\ Program Files文件\提升\ boost_1_65_1 \库\ python的\例子\教程),并得到了以下错误:
...found 12 targets...
...updating 5 targets...
compile-c-c++ hello.obj
hello.cpp
hello.cpp(7): fatal error C1083: Cannot open include file: 'boost/python/module.hpp': No such file or directory
call "C:\Users\trg\AppData\Local\Temp\b2_msvc_14.1_vcvars32_.cmd" >nul
cl /Zm800 -nologo @"hello.obj.rsp"
...failed compile-c-c++ hello.obj...
...skipped <p.>hello_ext.dll for lack of <p.>hello.obj...
...skipped <p.>hello_ext.pdb for lack of <p.>hello.obj...
...skipped <p.>hello for lack of <p.>hello_ext.dll...
...failed updating 1 target...
...skipped 4 targets...
如上所述,错误为:fatal error C1083: Cannot open include file: 'boost/python/module.hpp': No such file or directory
。升压C++库已成功安装在bjam
。我使用Eclipse来编辑C++,并且所有#include <boost/whatever>
行似乎都能够无误地编译。
任何人有任何建议如何解决这个问题?
不幸的是同样的结果..想想它是user.config.jam,但不知道如何编辑文件 –
错误消息是否完全相同,或者您是否只是遇到不同类型的错误?当我删除我的user-config.jam时,出现'warning:没有在user-config.jam中配置Python'和'warning:没有配置工具集'等错误。 – rocketeer