|
Boost-Build : |
From: Jurko GospodnetiÄ (jurko.gospodnetic_at_[hidden])
Date: 2008-07-04 13:33:50
Hi William.
> I'm trying to embed Boost Python in my application. I included all the
> sources of python in my project and i build the pythoncore myself, so i
> would like boost python to use the python i have in my project and not the
> one installed but i can't make it worked.
>
> here is what i have in my jamroot :
> using python : 2.5 : libs/Python25 : libs/Python25/include : : <toolset>msvc
> ;
>
> and here is the error :
> .....wrap_python.hpp(50) fatal error ..... canno't include 'pyconfig.h'....
>
> but pyconfig.h is in "libs/Python25/include" so i don't really understand,
> if someone has any clue....
Try running bjam with some or all of the following command line
parameters:
--debug-building ... displays the exact properties used by Boost
Build when building specific targets. Check this to see if the used
<include> properties contains the folder you expect.
-d+2 ... displays the actual command used. Check this to see if the
include path passed to the compiler contains the folder you expect.
--debug-configuration ... displays information on your toolset
configuration. Check this to see if you configured your Python toolset
as expected.
If that does not help, post a small self-contained example
reproducing the problem to this mailing list and hopefully someone can
help you debug it.
Hope this helps.
Best regards,
Jurko GospodnetiÄ
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk