|
Boost-Build : |
Subject: [Boost-build] using boost-1.30.2 failed
From: 马竹é (marvolus_at_[hidden])
Date: 2010-06-30 09:52:51
Hi,
My c++ programs are embedded with Python ,that is,using python/c api to invoke python intepreter
IÂ want to build it with boost-1.30.2(i have to use this version for some reasons..)
my  jamfile like this :
 project root ï¼
 exe main : main.cpp ../../python26/libs
          : <include>$(PYTHON_ROOT)
ï¼
Â
../../python26/libs is the python library
Â
my jamrules like this:
path-global BOOST_ROOT : the boost root directory
path-global PYTHON_ROOT : the path of python installtion
Â
when i invoke bjam ,the main.obj is generated,but when linking to main.exe,it fails.. there are something like this:"PyString_AsString is undefined in this scope.... ". it seems that the python i using in my c++ program is not be invoked .But my program runs through in VC9.0
i dot konw WHY?
Â
        Â
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