Problem with OgreOdeDemo_SimpleScenes

baxi

10-09-2006 22:09:47

Hello

I'm new here. I build OgreOdeDemo_SimpleScenes but when I run it i recived this :

23:00:40: Creating resource group General
23:00:40: Creating resource group Internal
23:00:40: Creating resource group Autodetect
23:00:40: Registering ResourceManager for type Material
23:00:40: Registering ResourceManager for type Mesh
23:00:40: Registering ResourceManager for type Skeleton
23:00:40: MovableObjectFactory for type 'ParticleSystem' registered.
23:00:40: Loading library OgrePlatform_d.dll
23:00:40: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 9
Function: DynLib::load
Description: Could not load dynamic library OgrePlatform_d.dll. System Error: Nie można odnaleźć określonego modułu.

.
File: d:\ogredev\dagon\ogremain\src\ogredynlib.cpp
Line: 82
Stack unwinding: <<beginning of stack>>

What I must do to run this demo ?

thx for help

tuan kuranes

11-09-2006 12:01:13

CVS , SDK ?
Which build system vc7, vc8, ... ?

Problem is that you have to run demo from the ogresdk/bin/debug or release directory to make them work.

baxi

11-09-2006 12:31:59

CVS , SDK ?
Which build system vc7, vc8, ... ?

Problem is that you have to run demo from the ogresdk/bin/debug or release directory to make them work.


SDK system build vc7.1

So where I should run demo from ?

tuan kuranes

11-09-2006 12:36:22

SDK system build vc7.1
So you may miss vc8 project setting, Here's what to do in each project Settings, All Configuration :
Each dll,exe have a "post build step" in "Build Events" :
copy "($TargetPath)" "$(OGRE_HOME)/bin/($ConfigurationName)"
And for Samples, if you want to run samples from the VStudio GUI, add
"$(OGRE_HOME)/bin/($ConfigurationName)" as working directory in "Debugging"