[HELP] Build errors on demos

DemiurgeDesigns

26-05-2009 03:04:08

Allrighty. So I have Ogre setup with my IDE which is Visual Studio 2008. It compiles fine.

I have the Lua installed too. It works fine.

And then I got to OgreNewt. Which has been my only hassle. I've loaded the projects. Corrected the working directories, includes, libs, etc. Pointed them in the right directions. Installed NewtonSDK and all. When I compile the first demo, the OgreNewt_Main lib compiles fine, only about 4 warnings. And I've gotten the actual demo to compile in both Debug and Release. But when I launch the executable I get a bunch of lovely runtime errors.

From Demo01_TheBasics - Debug
'Demo01_TheBasics.exe': Loaded 'D:\OgreNewt\demos\bin\debug\Demo01_TheBasics.exe', Symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll'
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll'
'Demo01_TheBasics.exe': Loaded 'D:\OgreNewt\demos\bin\debug\Newton.dll', Binary was not built with debug information.
'Demo01_TheBasics.exe': Loaded 'D:\OgreNewt\demos\bin\debug\OgreMain_d.dll'
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\user32.dll'
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll'
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.DebugCRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_597c3456\msvcp90d.dll', Symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.DebugCRT_1fc8b3b9a1e18e3b_9.0.21022.8_x-ww_597c3456\msvcr90d.dll', Symbols loaded.
'Demo01_TheBasics.exe': Loaded 'D:\OgreNewt\demos\bin\debug\OIS_d.dll', Binary was not built with debug information.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\dinput8.dll'
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll'
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll'
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll'
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\secur32.dll'
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\wbsys.dll', Binary was not built with debug information.
First-chance exception at 0x7c918af2 in Demo01_TheBasics.exe: 0xC0000005: Access violation writing location 0x00000010.
'Demo01_TheBasics.exe': Unloaded 'C:\WINDOWS\system32\wbsys.dll'
First-chance exception at 0x7c812a6b in Demo01_TheBasics.exe: Microsoft C++ exception: Ogre::InternalErrorException at memory location 0x0012eddc..
The program '[3060] Demo01_TheBasics.exe: Native' has exited with code 0 (0x0).


And from the release I get a message box saying...

Unhandled exception at 0x785718a8 (msvcr90.dll) in Demo01_TheBasics.exe: 0xC0000005: Access violation reading location 0xffffffff.