Perkins
11-01-2012 22:21:09
Okay, retrying sans hyperlinks
So I've spent the last day and a half banging on the python-ogre and ogrenewt2 code trying to get it to compile (64 bit linux mint debian). I got ogre to run its demos, and python-ogre will run Demo_Grass.py and the other basic demos. When I tried getting ogrenewt2 to compile, I found a bunch of minor bugs (issuing cp <file> /usr/lib without using sudo and the like), which I fixed. But it still wouldn't work, so I grabbed newton-dynamics myself (newton-dynamics.googlecode.com/svn/trunk/) and built libNewton.so and its supporting libraries. Then I grabbed ogrenewt2 myself from svn (svn.ogre3d.org/svnroot/ogreaddons/branches/ogrenewt/newton20) and compiled it. It finished without errors, allowing me to run BuildModule.py -g -c ogrenewt2 and then -b install. Again, exited without error. When I tried to import ogrenewt2 I got the following.
I also tried using the pre-built newtonSDK for linux64, which is version 2.33, with similar results. Has anyone gotten this working? And if so, what version of the various libraries should I use? I don't mind running slightly out of date code, so long as it is reasonably stable.
So I've spent the last day and a half banging on the python-ogre and ogrenewt2 code trying to get it to compile (64 bit linux mint debian). I got ogre to run its demos, and python-ogre will run Demo_Grass.py and the other basic demos. When I tried getting ogrenewt2 to compile, I found a bunch of minor bugs (issuing cp <file> /usr/lib without using sudo and the like), which I fixed. But it still wouldn't work, so I grabbed newton-dynamics myself (newton-dynamics.googlecode.com/svn/trunk/) and built libNewton.so and its supporting libraries. Then I grabbed ogrenewt2 myself from svn (svn.ogre3d.org/svnroot/ogreaddons/branches/ogrenewt/newton20) and compiled it. It finished without errors, allowing me to run BuildModule.py -g -c ogrenewt2 and then -b install. Again, exited without error. When I tried to import ogrenewt2 I got the following.
Python 2.6.7 (r267:88850, Jul 10 2011, 08:11:54)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ogre.physics
>>> import ogre.physics.ogrenewt2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.6/dist-packages/ogre/physics/ogrenewt2/__init__.py", line 4, in <module>
from _ogrenewt2_ import *
ImportError: /usr/local/lib/libOgreNewt.so.2: undefined symbol: _ZN25CustomKinematicControllerC1EPK10NewtonBodyRK7dVector
I also tried using the pre-built newtonSDK for linux64, which is version 2.33, with similar results. Has anyone gotten this working? And if so, what version of the various libraries should I use? I don't mind running slightly out of date code, so long as it is reasonably stable.