bjam execution in boost's example/tutorial failed -


as instructed on http://www.boost.org/doc/libs/1_62_0/libs/python/doc/html/tutorial/tutorial/hello.html

i entered bjam in folder's directory (c:\program files\boost\boost_1_65_1\libs\python\example\tutorial) , got following error:

...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 lack of <p.>hello.obj... ...skipped <p.>hello_ext.pdb lack of <p.>hello.obj... ...skipped <p.>hello lack of <p.>hello_ext.dll... ...failed updating 1 target... ...skipped 4 targets... 

as above returns, error is: fatal error c1083: cannot open include file: 'boost/python/module.hpp': no such file or directory. boost c++ library installed bjam. use eclipse edit c++ , #include <boost/whatever> lines seem able compile without error.

anyone has suggestion on how fix problem?

modify file c:\program files\boost\boost_1_65_1\libs\python\example\jamroot uncommenting <include> statement , changing follows:

project   : requirements   <include>../../..   <library>boost_python ; 

Comments

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -

python - Error while using APScheduler: 'NoneType' object has no attribute 'now' -