PDA

View Full Version : Help installing/using ODE


bronxbomber92
2006.10.22, 12:23 AM
Hey, I need some help installing the ODE library. I tried ./configure, everything went fine. Next, I did make, everything seemed to go along nicely. The make install and I get these errors Making install in include
Making install in ode
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/include/ode" || /Users/jeddhaberstro/desktop/ode-0.7/install-sh -d "/usr/local/include/ode"
mkdir: /usr/local/include/ode: Permission denied
make[3]: *** [install-libglitch_includeHEADERS] Error 1
make[2]: *** [install-am] Error 2
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1


Any ideas on how to install this? And once it is installed, how would I incude it in my project?

Thanks

akb825
2006.10.22, 12:47 AM
sudo make install

bronxbomber92
2006.10.22, 01:16 AM
Thanks, I'm pretty sured it worked :) I get make[3] nothing to be done for ... a lot Making install in include
Making install in ode
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/include/ode" || /Users/jeddhaberstro/desktop/ode-0.7/install-sh -d "/usr/local/include/ode"
/usr/bin/install -c -m 644 'collision_trimesh.h' '/usr/local/include/ode/collision_trimesh.h'
/usr/bin/install -c -m 644 'mass.h' '/usr/local/include/ode/mass.h'
/usr/bin/install -c -m 644 'odecpp.h' '/usr/local/include/ode/odecpp.h'
/usr/bin/install -c -m 644 'common.h' '/usr/local/include/ode/common.h'
/usr/bin/install -c -m 644 'matrix.h' '/usr/local/include/ode/matrix.h'
/usr/bin/install -c -m 644 'odecpp_collision.h' '/usr/local/include/ode/odecpp_collision.h'
/usr/bin/install -c -m 644 'compatibility.h' '/usr/local/include/ode/compatibility.h'
/usr/bin/install -c -m 644 'memory.h' '/usr/local/include/ode/memory.h'
/usr/bin/install -c -m 644 'odecpp_old.h' '/usr/local/include/ode/odecpp_old.h'
/usr/bin/install -c -m 644 'contact.h' '/usr/local/include/ode/contact.h'
/usr/bin/install -c -m 644 'misc.h' '/usr/local/include/ode/misc.h'
/usr/bin/install -c -m 644 'odemath.h' '/usr/local/include/ode/odemath.h'
/usr/bin/install -c -m 644 'collision.h' '/usr/local/include/ode/collision.h'
/usr/bin/install -c -m 644 'error.h' '/usr/local/include/ode/error.h'
/usr/bin/install -c -m 644 'objects.h' '/usr/local/include/ode/objects.h'
/usr/bin/install -c -m 644 'rotation.h' '/usr/local/include/ode/rotation.h'
/usr/bin/install -c -m 644 'collision_space.h' '/usr/local/include/ode/collision_space.h'
/usr/bin/install -c -m 644 'export-dif.h' '/usr/local/include/ode/export-dif.h'
/usr/bin/install -c -m 644 'ode.h' '/usr/local/include/ode/ode.h'
/usr/bin/install -c -m 644 'timer.h' '/usr/local/include/ode/timer.h'
/usr/bin/install -c -m 644 'config.h' '/usr/local/include/ode/config.h'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
Making install in drawstuff
Making install in src
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
Making install in dstest
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
Making install in ode
Making install in src
test -z "/usr/local/lib" || /Users/jeddhaberstro/desktop/ode-0.7/install-sh -d "/usr/local/lib"
/usr/bin/install -c -m 644 'libode.a' '/usr/local/lib/libode.a'
ranlib '/usr/local/lib/libode.a'
test -z "/usr/local/lib" || /Users/jeddhaberstro/desktop/ode-0.7/install-sh -d "/usr/local/lib"
/usr/bin/install -c 'libode.dylib' '/usr/local/lib/libode.dylib'
Making install in test
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
test -z "/usr/local/bin" || /Users/jeddhaberstro/desktop/ode-0.7/install-sh -d "/usr/local/bin"
/usr/bin/install -c 'ode-config' '/usr/local/bin/ode-config'
make install-exec-hook
make[3]: Nothing to be done for `install-exec-hook'.
make[2]: Nothing to be done for `install-data-am'. But I think it installed :)

So, what includes do I need?

akb825
2006.10.22, 01:55 AM
"nothing to be done for" basically means that it's done all the work for it. AKA: it went through all the scripts for preparing the library for install your previous attempt, it just didn't have the permissions to copy the files. When it went though it again, all the files to install have already been made from calling the scripts previously, so it's saying that it's already been done.

I believe you will need to include <ode/ode.h>

bronxbomber92
2006.10.22, 02:09 AM
Ok, thanks :)