(installation..) what is wrong?

luciano

23-02-2006 01:22:41

Hi everyone! I'm a new user of Ogre and Python.

I downloaded all the necessary files and install it (python, pyogre, vcredits, media) I check the instructions about the installation and ALL the files are in the right place.

But, when I try to run (F5) , for example, Camera Tracking Demo, I received the following error:

..\src\OgreDynLib.cpp(82): ogre error 9: Could not load dynamic library .\RenderSystem_Direct3D9. System Error: The specified module could not be found.

I check and in the "C:\Python24\Lib\site-packages\pyogre\" folder exsist the "RenderSystem_Direct3D9.dll" !!! ...so what is wrong?

I don't think that I have to install also the Ogre source?!

Pls, help!!

P.S. with the python, I will never compile the file in a exe? right? ..I hope yes.

Thanks,
Luciano

dermont

25-02-2006 12:50:03

No you don't have to install the Ogre source or compile to an exe. If your using idle, I'm assuming you are, you may run into problems:

http://www.ogre3d.org/phpBB2addons/view ... light=idle

Have you tried running from a dos/command prompt:

cd c:\Python24\pyogre\ogre_demos
set PATH=c:\Python24;%PATH%
python CameraTrackingDemo.py


or directly from Windows Explorer - browse to c:\Python24\pyogre\ogre_demos and double click CameraTrackingDemo.py

mad hatter

26-03-2006 18:42:54

The DirectX 9.0c SDK doesn't include some of the dll's for some reason. You can find them at http://www.threelights.de/index.php?pag ... _files.php

You should probably download and install the whole kit, though I think the one that's missing is probably d3dx9_27.dll

nospec

11-06-2006 17:16:34

Thanx mad hatter, as you specified, it was the d3dx9_27.dll file. I only downloaded this specific one (not the whole packege) and apparently this is sufficient. After installing it pyOgre works like a charm!!!

w.

Shaping

16-09-2008 06:34:52

Greetings.

This is my first build of OGRE. I downloaded the source for OGRE 1.6RC1.

I am able to build OGRE 1.6RC1, but cannot run any of the demo exes in \common\bin\release without getting a similar error:

OGRE EXCEPTION (7:InternalErrorException):Could not load dynamic library .\RenderSystem_Direct3D9. System Error: The specified module could not be found in DynLib::load at ..\src\OgreDynLib.cpp (line 80)

I am using Microsoft Visual Studio 9.0 Express Edition with the matching dependencies OgreDependencies_VC8SP1_Eihort_20071227.zip installed.

I have also installed DirectX SDK for August 2008.

Does anyone see the problem?


Shaping