OgreNewt Compliation Problems First Chance Exceptions

mesh

05-02-2008 19:49:56

Hello im using the OgreSDK with Eihort and Im having problems trying to run demo1 of OgreNewt.

When I try to compile it I get the following error...


'Demo01_TheBasics.exe': Loaded 'C:\OgreNewt\demos\bin\release\Demo01_TheBasics.exe', Symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\OgreNewt\demos\bin\release\Newton.dll', Binary was not built with debug information.
'Demo01_TheBasics.exe': Loaded 'C:\OgreNewt\demos\bin\release\OgreMain.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\user32.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700\msvcp80.dll', Symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700\msvcr80.dll', Symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\OgreNewt\demos\bin\release\OIS.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\dinput8.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\imm32.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\lpk.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\usp10.dll', No symbols loaded.
First-chance exception at 0x7c812a5b in Demo01_TheBasics.exe: Microsoft C++ exception: Ogre::FileNotFoundException at memory location 0x0012faf0..
First-chance exception at 0x7c812a5b in Demo01_TheBasics.exe: Microsoft C++ exception: Ogre::FileNotFoundException at memory location 0x0012fc20..
The program '[2972] Demo01_TheBasics.exe: Native' has exited with code 0 (0x0).



I have included the location of the Demo01_TheBasics.exe file which is C:\OgreNewt\demos\bin\release in the Addtional Include Directories bit in the properties of the demo1 project.

I have posted this problem before but there was no solution to it. :(

Can anyone please help?

mesh

06-02-2008 14:43:05

Okies after spending more time with trying to fix the problem I have managed to get it to run to only crash again!!!

I didnt set the 'working directory' to where the exe is of the project in the project properties so that has fixed the previous problem.

Here is what appears what after I run it.

'Demo01_TheBasics.exe': Loaded 'C:\ogre\ogreaddons\OgreNewt\demos\bin\release\Demo01_TheBasics.exe', Symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\ntdll.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\kernel32.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\ogre\ogreaddons\OgreNewt\demos\bin\release\Newton.dll', Binary was not built with debug information.
'Demo01_TheBasics.exe': Loaded 'C:\ogre\ogreaddons\OgreNewt\demos\bin\release\OgreMain.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\user32.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\gdi32.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700\msvcp80.dll', Symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700\msvcr80.dll', Symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\msvcrt.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\ogre\ogreaddons\OgreNewt\demos\bin\release\OIS.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\dinput8.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\imm32.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\lpk.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\usp10.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\ogre\ogreaddons\OgreNewt\demos\bin\release\RenderSystem_Direct3D9.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\d3d9.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\d3d8thk.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\version.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\winmm.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\ogre\ogreaddons\OgreNewt\demos\bin\release\RenderSystem_GL.dll', Binary was not built with debug information.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\opengl32.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\glu32.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\ddraw.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\dciman32.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\MSCTF.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\MSCTFIME.IME', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\ole32.dll', No symbols loaded.
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\nvoglnt.dll', No symbols loaded.
The thread 'Win32 Thread' (0x3bc) has exited with code 0 (0x0).
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\mcd32.dll', No symbols loaded.
'Demo01_TheBasics.exe': Unloaded 'C:\WINDOWS\system32\mcd32.dll'
'Demo01_TheBasics.exe': Loaded 'C:\WINDOWS\system32\mslbui.dll', No symbols loaded.
First-chance exception at 0x0045857a in Demo01_TheBasics.exe: 0xC0000005: Access violation reading location 0xbaadf115.
Unhandled exception at 0x0045857a in Demo01_TheBasics.exe: 0xC0000005: Access violation reading location 0xbaadf115.
The program '[3172] Demo01_TheBasics.exe: Native' has exited with code 0 (0x0).


When I try running the exe I get a pop up window with the following message...

The instruction at "0x0045857a" referenced memory at "0x00000108". The memory could not be "read".


Argh!!!

Anyone else have this problem or knows how it can be solved?

charly

06-02-2008 16:42:45

Hi,

I got the same problems with eihort 1.4.5 & VS08.

Have you the SP2 installed on your computer? (I get it ), i read that it could crash your program on start even if it's well compiled...

with a message like " failed to initialize ..."

that's why I don't manage to run the demo01_the basics too... :cry:
but I haven't try yet to uninstall the SP2, there is no classic way like uninstall.exe... :?

mesh

06-02-2008 17:24:49

Yes this computer that I use has Service Pack 2 installed.

Im not sure about unstalling it though ill see if I can find out.

EDIT: I found this site thatgives some instructions on how to uninstall Service Pack 2 but I cant do it on this pc as its restricted for me.

Could you please let me Service Pack 2 is causing the problem as I cant find out myself.

http://www.tech-recipes.com/windows_tips624.html

mesh

09-02-2008 13:24:13

Does anyone know if this is the case that I cant run the tutorials?

That its because I have service pack 2 installed ?????