Sneftel
29-05-2006 23:12:30
I've been trying to get OgreDotNet working in my Windows Forms application with VS 2005. When I start up the program and make a new Root(), the program errors out. Ogre.log contains this:
I've placed OgrePlatform_d.dll in the Debug directory, the project directory, and the solution directory. Is it actually not finding it, or is something else going on? I'm using the stock 1.2 SDK, and the most recent precompiled OgreDotNet libs.
Thanks,
Ben
14:53:08: Creating resource group General
14:53:08: Creating resource group Internal
14:53:08: Creating resource group Autodetect
14:53:08: Registering ResourceManager for type Material
14:53:08: Registering ResourceManager for type Mesh
14:53:08: Registering ResourceManager for type Skeleton
14:53:08: MovableObjectFactory for type 'ParticleSystem' registered.
14:53:08: Loading library OgrePlatform_d.dll
14:53:08: An exception has been thrown!
-----------------------------------
Details:
-----------------------------------
Error #: 9
Function: DynLib::load
Description: Could not load dynamic library OgrePlatform_d.dll. System Error: The specified module could not be found.
.
File: e:\projects\ogrecvs\branches\dagon_vc8_clean\ogrenew\ogremain\src\ogredynlib.cpp
Line: 82
Stack unwinding: <<beginning of stack>>
14:53:08: Termination handler: uncaught exception!
14:53:08: *-*-* OGRE Shutdown
I've placed OgrePlatform_d.dll in the Debug directory, the project directory, and the solution directory. Is it actually not finding it, or is something else going on? I'm using the stock 1.2 SDK, and the most recent precompiled OgreDotNet libs.
Thanks,
Ben