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
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