See here:
(Do not forget to copy the library and header files as instructed)
- Install ODE using instructions above, but call
./configureas
./configure --enable-double-precision --with-trimesh=opcode --enable-new-trimesh --enable-shared-
From the ODE root directory,
cdintobindings/python -
python setup.py install.
Full instructions can be found here at the ODE wiki.
####Troubleshooting
-
You may need to use
sudowhen you callmake installwhile 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 -lpthreadDownload tensegrity and run ./tensegrity to run the compiled demo.
Some good ODE tutorials: