Problems with SimpleScenes demo from source

SteelCrusader

02-03-2008 18:23:17

Hi,

I've had loads of problems getting OgreOde to work properly, but finally made some headway. I'm using:

VS 2008
Ogre 1.4.6
ODE fresh from CVS
ogreOde fresh from CVS

It took some massaging (ok, a LOT of massaging) but I finally got the OgreOde demos building and running from source. Well, mostly....

SimpleScenes is giving me issues. It builds and runs just fine, for all the sub-demos, except for the last one the "Rag doll shooting gallery." The second I press F7 it fails. I had to check ogre.log to see why.

It turned out that it couldn't find some resource "Gingerbreadman.ogreode" and apparently this is a well known issue, so I just commented out its use and it gets past that. However, now it complains:

12:12:10: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource Jeep in resource group General or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 604)

What on earth is a jeep doing in the shooting gallery demo? It doesn't seemed to be mentioned in any of the source code for SimpleScenes, and it appears that all the "jeep" files are in place with all the other media files. In fact, the jeeps appear just fine in the other demos.

What gives?

rewb0rn

03-03-2008 21:06:38

Sounds strange. Yet I haven't built the demos for quite a while. Thoroughly debug and see what part of the code tries to load the resource, then see what happens if you comment it out / delete it from the directory. Maybe its just a resource group in resources.cfg that doesn't exist?

dermont

15-03-2008 19:40:49

Just encountered this rebuilding OgreOde. Since you've removed references to the gingerbreadman (whatever that is) you need to update "sSelectedMesh=4" in SimpleScenes_Zombie.h to 0,1,2 or 3 for the following line:

static size_t sSelectedMesh = 4;