Pryo
02-09-2009 21:44:37
While trying to build OgreOde, I followed several different recommendations and walkthroughs but hit dead ends a lot of the time.
Luckily I have managed to build it after making some of my own tweaks. I will gladly write a walkthrough so that others who may be struggling can follow in my footsteps.
But I am now faced with runtime errors which I do not have the technical knowledge to resolve.
The error is:
The call stack:
The line in createScene() that initiates the problem is:
Does anyone know what is going on here? Failing that, could anyone advise how I should go about even working out how to fix this? I'm very new to C++ debugging.
I hope I have provided enough info, if not ask and I'll send more.
Thanks very much.
Luckily I have managed to build it after making some of my own tweaks. I will gladly write a walkthrough so that others who may be struggling can follow in my footsteps.
But I am now faced with runtime errors which I do not have the technical knowledge to resolve.
The error is:
Unhandled exception at 0x762e42eb in App.exe: Microsoft C++ exception: std::bad_alloc at memory location 0x0012edec..
The call stack:
kernel32.dll!762e42eb()
[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]
kernel32.dll!762e42eb()
msvcr90d.dll!65c4d496()
msvcp90d.dll!64d435ac()
msvcp90d.dll!64d4db61()
msvcp90d.dll!64d4da96()
msvcp90d.dll!64d7918e()
OgreMain_d.dll!1119aad9()
> OgreOde_Core_d.dll!OgreOde::Body::Body(OgreOde::World * world=0x01fff6e8, const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & name="") Line 106 + 0x1b bytes C++
App.exe!Engine::createScene() Line 274 + 0x48 bytes C++
App.exe!Engine::setup() Line 80 C++
App.exe!Engine::go() Line 37 + 0x8 bytes C++
App.exe!WinMain(HINSTANCE__ * hInst=0x00400000, HINSTANCE__ * __formal=0x00000000, char * strCmdLine=0x00783fbf, HINSTANCE__ * __formal=0x00000000) Line 226 + 0xb bytes C++
App.exe!__tmainCRTStartup() Line 578 + 0x35 bytes C
App.exe!WinMainCRTStartup() Line 403 C
kernel32.dll!762e4911()
ntdll.dll!7754e4b6()
ntdll.dll!7754e489()
The line in createScene() that initiates the problem is:
mBody = new OgreOde::Body(mWorld);
Does anyone know what is going on here? Failing that, could anyone advise how I should go about even working out how to fix this? I'm very new to C++ debugging.
I hope I have provided enough info, if not ask and I'll send more.
Thanks very much.