Nachtwind
28-05-2006 20:23:42
Well, i just started again using ODN and i have the following environment:
SharpDevelop 2.0b
Ogre1.2 SDK
ODN Prebuilds
Everything installed, DLLs put in the debug/release folders, changed the Ressources file accpording to my needs and so on..
well, then i used Tutorial 1 (after referencing the needed DLLs) and this is the outcome:
D:\Elite\Game\bin\Debug>game
Unhandled Exception: System.TypeInitializationException: The type initializer for 'OgreDotNet.OgreBindingsPINVOKE' threw an exception. ---> System.TypeInitializationException: The type initializer for 'SWIGExceptionHelper' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'OgreBindings': Die angegebene Prozedur wurde nicht gefunden. (Exception from HRESULT: 0x8007007F)
at OgreDotNet.OgreBindingsPINVOKE.SWIGExceptionHelper.SWIGRegisterExceptionCallbacks_OgreBindings
(ExceptionDelegate applicationDelegate, ExceptionDelegate arithmeticDelegate, ExceptionDelegate divideByZeroDelegate, ExceptionDelegate indexOutOfRangeDelegate, ExceptionDelegate invalidOperationDelegate, ExceptionDelegate ioDelegate, ExceptionDelegate nullReferenceDelegate, ExceptionDelegate outOfM
emoryDelegate, ExceptionDelegate overflowDelegate, ExceptionDelegate systemExceptionDelegate)
at OgreDotNet.OgreBindingsPINVOKE.SWIGExceptionHelper..cctor()
--- End of inner exception stack trace ---
at OgreDotNet.OgreBindingsPINVOKE.SWIGExceptionHelper..ctor()
at OgreDotNet.OgreBindingsPINVOKE..cctor()
--- End of inner exception stack trace ---
at OgreDotNet.OgreBindingsPINVOKE.new_Root__SWIG_3()
at OgreDotNet.ExampleApplication.Setup()
at OgreDotNet.ExampleApplication.Start()
at TutorialApplication1.TutorialApplication.Main(String[] args) in d:\Elite\Game\Main.cs:line 20
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an ob
ject.
at OgreDotNet.ExampleApplication.Dispose()
at TutorialApplication1.TutorialApplication.Main(String[] args) in d:\Elite\Game\Main.cs:line 21
D:\Elite\Game\bin\Debug>_
Any solutions or do i miss something?
SharpDevelop 2.0b
Ogre1.2 SDK
ODN Prebuilds
Everything installed, DLLs put in the debug/release folders, changed the Ressources file accpording to my needs and so on..
well, then i used Tutorial 1 (after referencing the needed DLLs) and this is the outcome:
D:\Elite\Game\bin\Debug>game
Unhandled Exception: System.TypeInitializationException: The type initializer for 'OgreDotNet.OgreBindingsPINVOKE' threw an exception. ---> System.TypeInitializationException: The type initializer for 'SWIGExceptionHelper' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'OgreBindings': Die angegebene Prozedur wurde nicht gefunden. (Exception from HRESULT: 0x8007007F)
at OgreDotNet.OgreBindingsPINVOKE.SWIGExceptionHelper.SWIGRegisterExceptionCallbacks_OgreBindings
(ExceptionDelegate applicationDelegate, ExceptionDelegate arithmeticDelegate, ExceptionDelegate divideByZeroDelegate, ExceptionDelegate indexOutOfRangeDelegate, ExceptionDelegate invalidOperationDelegate, ExceptionDelegate ioDelegate, ExceptionDelegate nullReferenceDelegate, ExceptionDelegate outOfM
emoryDelegate, ExceptionDelegate overflowDelegate, ExceptionDelegate systemExceptionDelegate)
at OgreDotNet.OgreBindingsPINVOKE.SWIGExceptionHelper..cctor()
--- End of inner exception stack trace ---
at OgreDotNet.OgreBindingsPINVOKE.SWIGExceptionHelper..ctor()
at OgreDotNet.OgreBindingsPINVOKE..cctor()
--- End of inner exception stack trace ---
at OgreDotNet.OgreBindingsPINVOKE.new_Root__SWIG_3()
at OgreDotNet.ExampleApplication.Setup()
at OgreDotNet.ExampleApplication.Start()
at TutorialApplication1.TutorialApplication.Main(String[] args) in d:\Elite\Game\Main.cs:line 20
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an ob
ject.
at OgreDotNet.ExampleApplication.Dispose()
at TutorialApplication1.TutorialApplication.Main(String[] args) in d:\Elite\Game\Main.cs:line 21
D:\Elite\Game\bin\Debug>_
Any solutions or do i miss something?