error compiling Demo_GranTurismoOgre_Source [SOLVED]

legyndir

26-06-2008 15:32:12

Hi,
I try edit the code of granturismo in ogreodesdk, but i have a problem compiling the original one. After struggling with linker errors and such, I came to a point where I couldnt figure out what is wrong.
in file GranTurismoOgre.cpp:
in GranTurismOgreFrameListener::changeCar()
_vehicle = dynamic_cast <OgreOde_Prefab::Vehicle *> (dotOgreOdeLoader->loadObject (carFileNames[sSelectedCar], carNames[sSelectedCar]));

I get this runtime error:
Unhandled exception at 0x003d8c52 in OgreOdeDemo_GranTurismOgre.exe: 0xC0000005: Access violation reading location 0x00000000.

I think _space in dotOgreOdeLoader is null at this line. How can i solve this?

I hope I am not making a silly mistake coz my head is kinda complicated right now :)

Thx in advance

legyndir

27-06-2008 12:43:02

hmm i guess i was trying to integrate incompatible versions :S
i deleted all, downloaded and installed them again, compiled all ogreode libs and it worked :)

and for those who need fresh compiled libs:
http://rapidshare.com/files/125370342/o ... s.rar.html