zeroflag
14-07-2006 13:13:27
it seems I'm too stupid for OgreDotNet...
I pretty much copied everything from this tutorial, set up my project as described on the wiki, copied almost every dll from ogre's directory and all of OgreDotNet's dlls.
still, every time I start up this very basic programm I get an exception thrown on "new Root()":
with the inner exception resolving to:
(the german part translates to something like "The required procedure cannot be found.")
funny part is, OgreBindings.dll is in the folder and it still doesn't find it. I tried running the executeable from the debugger and directly, nothing worked.
I have no idea what's wrong.
I pretty much copied everything from this tutorial, set up my project as described on the wiki, copied almost every dll from ogre's directory and all of OgreDotNet's dlls.
still, every time I start up this very basic programm I get an exception thrown on "new Root()":
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 outOfMemoryDelegate, ExceptionDelegate overflowDelegate, ExceptionDelegate systemExceptionDelegate)
at OgreDotNet.OgreBindingsPINVOKE.SWIGExceptionHelper..cctor() in C:\Dev\ogre\odnt\ogredotnet\OgreNet\OgreBindingsPINVOKE.cs:line 101
--- End of inner exception stack trace ---
at OgreDotNet.OgreBindingsPINVOKE.SWIGExceptionHelper..ctor()
at OgreDotNet.OgreBindingsPINVOKE..cctor() in C:\Dev\ogre\odnt\ogredotnet\OgreNet\OgreBindingsPINVOKE.cs:line 120
--- End of inner exception stack trace ---
at OgreDotNet.OgreBindingsPINVOKE.new_Root__SWIG_3()
at OgreDotNet.Root..ctor() in C:\Dev\ogre\odnt\ogredotnet\OgreNet\Root.cs:line 106
at OniNET.Oni..ctor(Control control) in D:\kt\Visual Studio 2005\Projects\OGRE\OniNET\OniNET\Oni.cs:line 63
at Oni.MainForm..ctor() in D:\kt\Visual Studio 2005\Projects\OGRE\OniNET\Oni\MainForm.cs:line 17
at Oni.Program.Main() in D:\kt\Visual Studio 2005\Projects\OGRE\OniNET\Oni\Program.cs:line 19
with the inner exception resolving to:
Unable to load DLL 'OgreBindings': Die angegebene Prozedur wurde nicht gefunden. (Exception from HRESULT: 0x8007007F)
(the german part translates to something like "The required procedure cannot be found.")
funny part is, OgreBindings.dll is in the folder and it still doesn't find it. I tried running the executeable from the debugger and directly, nothing worked.
I have no idea what's wrong.