See here:
(Do not forget to copy the library and header files as instructed)
- Install ODE using instructions above, but call
./configure
as
./configure --enable-double-precision --with-trimesh=opcode --enable-new-trimesh --enable-shared
-
From the ODE root directory,
cd
intobindings/python
-
python setup.py install
.
Full instructions can be found here at the ODE wiki.
####Troubleshooting
-
You may need to use
sudo
when you callmake install
while installing ODE itself. -
If you receive an error while trying to import ode into python, try running
sudo ldconfig
g++ tensegrity.cpp -o tensegrity -lode -ldrawstuff -lX11 -lGLU -lGL -lpthread
Download tensegrity and run ./tensegrity to run the compiled demo.
Some good ODE tutorials: