On 08/30/2010 10:19 AM, Junwei Zhang wrote:
Hi, everyone,
I just started study boost.python. and have following problem
<snip>
g++ boostpy.cc -lpython2.5 -I /usr/include/python2.5 -o boostpy.so -shared
<snip>
any suggestion?
Two compiler/linker flags: -fPIC and -lboost_python
You may have to append a suffix to get the appropriate boost_python
shared library in some cases.
Jim Bosch
_______________________________________________
Cplusplus-sig mailing list
Cplusplus-sig@python.org
http://mail.python.org/mailman/listinfo/cplusplus-sig