[ODE] pyODE Question

Bruce Mitchener bruce at cubik.org
Tue Aug 5 19:41:02 2003


Jason Asbahr wrote:
> Not sure what I did differently, but the first install I did (python 
> setup.py install) created the ode.so library and placed in in 
> /usr/lib/python2.2/site-packages/, and that imported and ran just fine, 
> but today's compilation has created an ode.so which gives the "undefined 
> symbol: __pure_virtual" error I saw mentioned in the ode list archives.
> 
> The archive appears to suggest that compiling with g++ is the needed 
> fix, but manually executing 'g++ -shared 
> build/temp.linux-i686-2.2/ode.so -L../ode/lib -lode -o 
> build/lib.linux-i686-2.2/ode.so' is not doing the trick.
> 
> I'm running Debian unstable, python2.2, and gcc 3.3.1.

Make sure everything is using the same version of gcc.

  - Bruce