OgreOde Installing with Cmake error

pexgear

17-01-2012 13:56:57

I hope someone will pull me out of this hell :)
It's a long time that I try to integrate, after have learned the basics of ogre programmation, ode with ogre. The fact is that when I create a "World" as I saw in some tutorial it suddently gives me an error. I think that it's due to a bad installation of ogreode that wasn't built perfectly against ogre. In fact while I was usic cmake to compile it I couldn't set ogre_build directory cos it doesn't take it, every time I set it and press again configure cmake resets the field as OGRE_BUILD_NOT_FOUND (something like this).

This is the code I put in my CreateScene funct:


mWorld = new OgreOde::World(mSceneMgr);

and that's the error I get :

undefined reference to `OgreOde::World::World(Ogre::SceneManager*)'

Thank's for the help

pexgear

17-01-2012 14:40:12

I forgot to put my versions of SDKs:

Ogre SDK 1.6.5
Ode 0.11.1
OgreOde is the latest, downloaded from svn OgreAddons

I work with ubuntu, latest as well

pexgear

18-01-2012 13:33:28

My fault, I didn't link the OgreOde_d.so library into the project. Now it seems to work though I still didn't fix the "OGRE_BUILD_NOT_FOUND problem, at this point I don't know if it's necessary. I'll write again if I will run down this application with ogreOde without fixing this "error"

suryaatvellore

22-06-2012 07:42:34

You need to resolve that error if you are building your ogre from cmake..simply create a "ogre-build" folder in the same level as the other ogre directories,go to c make,choose add entry and manually specify the value as
name:OGRE_BUILD
VALUE:PATH
VALUE:tha path of the ogre build folder