monkeyboi
25-10-2011 20:48:59
Hi guys
This is a project I did ages ago. It could run in debug model, but there is an exception pop out as below in release model
Unhandled exception at 0x5b5dee58 (msvcr90d.dll) in OgreFramework.exe: 0xC0000005: Access violation reading location 0x6766632e.
One thing I dont understand is in the output diagram shows
'OgreFramework.exe': Loaded 'D:\Users\Jerry\Desktop\EscapeFromColony84\Dev\OgreFramework\OgreFramework\bin\Release\NxOgre_Debug.dll'
...
...
...
'OgreFramework.exe': Loaded 'D:\Users\Jerry\Desktop\EscapeFromColony84\Dev\OgreFramework\OgreFramework\bin\Release\OgreMain_d.dll'
Why is it still loading the dll files that should be used in debug model even though I have put NxOgre.lib PhysXLoader.lib NxOgreOGRE3D.lib NxCharacter.lib NxCooking.lib in the additional dependencies of release model?
Additionally the error occurs after loading
'OgreFramework.exe': Loaded 'D:\Windows\System32\msctf.dll'
First-chance exception at 0x5b5dee58 (msvcr90d.dll) in OgreFramework.exe: 0xC0000005: Access violation reading location 0x6766632e.
Unhandled exception at 0x5b5dee58 (msvcr90d.dll) in OgreFramework.exe: 0xC0000005: Access violation reading location 0x6766632e.
Compare with the debug model, after loading 'OgreFramework.exe': Loaded 'D:\Windows\System32\msctf.dll' is
'OgreFramework.exe': Loaded 'D:\Users\Jerry\Desktop\EscapeFromColony84\Dev\OgreFramework\OgreFramework\bin\Debug\RenderSystem_Direct3D9_d.dll'
So does it mean something wrong during loading RenderSystem_Direct3D9.dll
I put 2 seperate Pluging.cfg in bin/debug and bin/release
Each ot them is shown as below
# Defines plugins to load
# Define plugin folder
PluginFolder=.
# Define plugins
Plugin=RenderSystem_Direct3D9_d
Plugin=RenderSystem_GL_d
Plugin=Plugin_ParticleFX_d
Plugin=Plugin_BSPSceneManager_d
Plugin=Plugin_CgProgramManager_d
Plugin=Plugin_PCZSceneManager_d.dll
Plugin=Plugin_OctreeZone_d.dll
Plugin=Plugin_OctreeSceneManager_d
Plugin=Plugin_TheoraVideoSystem
and
# Defines plugins to load
# Define plugin folder
PluginFolder=.
# Define plugins
Plugin=RenderSystem_Direct3D9
Plugin=RenderSystem_GL
Plugin=Plugin_ParticleFX
Plugin=Plugin_BSPSceneManager
Plugin=Plugin_CgProgramManager
Plugin=Plugin_PCZSceneManager.dll
Plugin=Plugin_OctreeZone.dll
Plugin=Plugin_OctreeSceneManager
Plugin=Plugin_TheoraVideoSystem
I don't know where I am wrong so appriciate any suggestion or idea
This is a project I did ages ago. It could run in debug model, but there is an exception pop out as below in release model
Unhandled exception at 0x5b5dee58 (msvcr90d.dll) in OgreFramework.exe: 0xC0000005: Access violation reading location 0x6766632e.
One thing I dont understand is in the output diagram shows
'OgreFramework.exe': Loaded 'D:\Users\Jerry\Desktop\EscapeFromColony84\Dev\OgreFramework\OgreFramework\bin\Release\NxOgre_Debug.dll'
...
...
...
'OgreFramework.exe': Loaded 'D:\Users\Jerry\Desktop\EscapeFromColony84\Dev\OgreFramework\OgreFramework\bin\Release\OgreMain_d.dll'
Why is it still loading the dll files that should be used in debug model even though I have put NxOgre.lib PhysXLoader.lib NxOgreOGRE3D.lib NxCharacter.lib NxCooking.lib in the additional dependencies of release model?
Additionally the error occurs after loading
'OgreFramework.exe': Loaded 'D:\Windows\System32\msctf.dll'
First-chance exception at 0x5b5dee58 (msvcr90d.dll) in OgreFramework.exe: 0xC0000005: Access violation reading location 0x6766632e.
Unhandled exception at 0x5b5dee58 (msvcr90d.dll) in OgreFramework.exe: 0xC0000005: Access violation reading location 0x6766632e.
Compare with the debug model, after loading 'OgreFramework.exe': Loaded 'D:\Windows\System32\msctf.dll' is
'OgreFramework.exe': Loaded 'D:\Users\Jerry\Desktop\EscapeFromColony84\Dev\OgreFramework\OgreFramework\bin\Debug\RenderSystem_Direct3D9_d.dll'
So does it mean something wrong during loading RenderSystem_Direct3D9.dll
I put 2 seperate Pluging.cfg in bin/debug and bin/release
Each ot them is shown as below
# Defines plugins to load
# Define plugin folder
PluginFolder=.
# Define plugins
Plugin=RenderSystem_Direct3D9_d
Plugin=RenderSystem_GL_d
Plugin=Plugin_ParticleFX_d
Plugin=Plugin_BSPSceneManager_d
Plugin=Plugin_CgProgramManager_d
Plugin=Plugin_PCZSceneManager_d.dll
Plugin=Plugin_OctreeZone_d.dll
Plugin=Plugin_OctreeSceneManager_d
Plugin=Plugin_TheoraVideoSystem
and
# Defines plugins to load
# Define plugin folder
PluginFolder=.
# Define plugins
Plugin=RenderSystem_Direct3D9
Plugin=RenderSystem_GL
Plugin=Plugin_ParticleFX
Plugin=Plugin_BSPSceneManager
Plugin=Plugin_CgProgramManager
Plugin=Plugin_PCZSceneManager.dll
Plugin=Plugin_OctreeZone.dll
Plugin=Plugin_OctreeSceneManager
Plugin=Plugin_TheoraVideoSystem
I don't know where I am wrong so appriciate any suggestion or idea