Thanks you all
it works
On Mon, Aug 30, 2010 at 12:23 PM, Jim Bosch wrote:
> On 08/30/2010 10:19 AM, Junwei Zhang wrote:
>>
>> Hi, everyone,
>>
>> I just started study boost.python. and have following problem
>
>
>>
>> g++ boostpy.cc -lpython2.5 -I /usr/include/python2.5 -o boostpy.so
>> -shar
On 08/30/2010 10:19 AM, Junwei Zhang wrote:
Hi, everyone,
I just started study boost.python. and have following problem
g++ boostpy.cc -lpython2.5 -I /usr/include/python2.5 -o boostpy.so -shared
any suggestion?
Two compiler/linker flags: -fPIC and -lboost_python
You may have to app
You need to link with boost python as well.
g++ boostpy.cc -lpython2.5 -lboost_python -I /usr/include/python2.5
-o boostpy.so -shared
should probably do the trick
On Mon, Aug 30, 2010 at 12:19 PM, Junwei Zhang
wrote:
> Hi, everyone,
>
> I just started study boost.python. and have following pro