[C++-sig] Boost.Python embedded doubt

Stefan Seefeld seefeld at sympatico.ca
Wed Aug 31 17:02:42 CEST 2005


Eric Jardim wrote:

> I am building this app with Qt "qmake". I do not use bjam, because I 
> need specific precompiling for Qt (easyly done by qmake). But this 
> should not be so complex, shoud it? I am just using simple:
>> >> -L/path/to/python/lib/python2.3/config -lpython2.3 
> -L/path/to/boost/lib -lboost_python-static -lutil

The order of libraries on the command line is significant. As you list
libboost_python after libpython2.3, its references to python symbols
can't be resolved. What happens if you put '-lpython2.3 -lutil' last ?

Regards,
		Stefan



More information about the Cplusplus-sig mailing list