OgreOde and Linux

niezdrowywglowe

14-11-2006 20:41:58

Hi,

I'm trying to compile OgreODE in linux. I have CVS and that OgreOde.zip (from: http://tuan.kuranes.free.fr/Ogre.html#OgreOde ) version. With that from CVS I have:

make: *** No rule to make target 'OgreOde.h', needed by 'all-am'. Stop.

With that from OgreOde.zip I had the same problem as here:
http://www.ogre3d.org/phpBB2addons/viewtopic.php?t=2714
and after that i get something like this:

In file included from OgreOdeVehicle.cpp:4:
../../include/OgreOdeGeometry.h:24: error: `dCapsuleClass' was not declared in this scope
../../include/OgreOdeGeometry.h:24: error: enumerator value for `Class_Capsule' not integer constant
.
.
.
(and similar)

The Wiki page about OgreOde ( http://www.ogre3d.org/wiki/index.php/Ogreode ) isn't helpful. Is there an installation guide 'step-by-step' for linux? Where can I find some informations?

Maby I had bad googling :/

Please help. I'm going crazy :/
&
Thanks.

Skandal

15-11-2006 02:32:10

Hi!

I'm on windows for the moment but I did manage to build OgreOde on linux a few weeks ago. I had no luck using the version from CVS, but the one from OgreOde.zip did build after I made the tweak from the other thread.

But I can't remember if I had to do something more. From the errors you are getting I suspect that the compiler cannot find some include file from the odelibrary.

If you have the command 'ode-config' you can type 'ode-config --cflags' or something similar, it will tell you which directories you have to include when you link against ode.

Good luck, sorry I can't be of more help.

niezdrowywglowe

15-11-2006 09:40:33

I looked to CFLAGS and CXXFLAGS and includes ( -I ) are O.K. I don't understand why gcc can't find header file :/

tuan kuranes

29-11-2006 14:56:31

maybe using wrong Ode include (check if you don't have several version.)
Or too old ODE version.