Boost logo

Boost-Build :

Subject: [Boost-build] using boost-1.30.2 failed
From: 马竹青 (marvolus_at_[hidden])
Date: 2010-06-30 09:52:51

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, david.abrahams at, gregod at, cpdaniel at, john at