Thomi
07-03-2007 19:58:20
Hi,
I'm having a few problems compiling ogre from CVS:
make[3]: *** No rule to make target `OgreOdeDotLoader.h', needed by `all-am'. Stop.
Does anyone know what's going on? I'd like to use Ode in my applications, but I'm stuck...
rewb0rn
08-03-2007 08:35:13
What compiler do you use? Try to compile without precompiled headers if the project is told to use them.
Thomi
08-03-2007 19:03:55
Sorry, I should have mentioned.
I'm using gcc 4.1.2 and make 3.81.
I've fixed it.. the problem was that the prefab/include/ directory won't build unless there's a copy of OgreOdeDotLoader.h in that directory. The solution was to link it from it's location at loader/inlude:
ln -s loader/include/OgreOdeDotLoader.h prefab/include
Also, the latest version of OIS has changed the case of the header files. THey used ot be 'OIS/ois.h', it is now 'OIS/OIS.h' - another error.
In a related matter, is OgreOde being maintained? Is ti even worth trying to get it compiled? It'd be a shame to lose the only open source physics binding..
Thomi
08-03-2007 19:08:32
Oh yeah, and the makefile (for some off reason I have yet to fathom) doesn't try and link to libOIS.so, so you get link errors when you try and build OgreOde...
dermont
09-03-2007 07:18:04
For the OgreOdeDotLoader problem try removing OgreOdeDotLoader.h from ogreode/prefab/include/Makefile.am. I believe this is in it's own module now.
For OIS problem try updating each of the demos Makfile.am for OIS, eg demos/GranTurismOgre/src/Makefile.am:
GranTurismOgre_CXXFLAGS = \
${ois_CFLAGS} \
....
GranTurismOgre_LDADD = \
${ois_LIBS} \
...