panda module in c++ (solved)

i’m working on implementing a module of a project in c++. but i am failing on getting it working, i get bus errors when trying to import the final lib into python.

this is the code i am using (with the Makefile to compile it):

i’m working under osx 10.6 a self compiled (threaded) version of panda3d.

when i try to import in python (run i get the following errors:

anybody having a idea would help me a lot. thanks

i’ve found the problem after having drunk some beers :slight_smile:

i was compiling for python 2.5, while using 2.6…

Ah, good to hear! The inestimable value of beer. :slight_smile: