error running ogre demos

chpyog

11-05-2007 17:13:31

I am newbie and just installed python-ogre 2.5.
The demos fail with this error:
Loading library ../../plugins\RenderSystem_Direct3D9.dll
OGRE EXCEPTION(7:): Could not load dynamic library ../../plugins\RenderSystem_
rect3D9.dll.

Here is the output of the directory c:\PythonOgre\plugins:
C:\PythonOgre\plugins>dir
Datenträger in Laufwerk C: ist BOOT
Volumeseriennummer: EC90-7252

Verzeichnis von C:\PythonOgre\plugins

11.05.2007 17:51 <DIR> .
11.05.2007 17:51 <DIR> ..
16.06.2005 05:19 271 Plugins.cfg
27.03.2007 08:28 151.552 Plugin_BSPSceneManager.dll
27.03.2007 08:21 45.056 Plugin_CgProgramManager.dll
27.03.2007 08:23 221.184 Plugin_OctreeSceneManager.dll
27.03.2007 08:23 99.328 Plugin_ParticleFX.dll
27.03.2007 08:25 339.968 RenderSystem_Direct3D9.dll
27.03.2007 08:28 503.808 RenderSystem_GL.dll
7 Datei(en) 1.361.167 Bytes
2 Verzeichnis(se), 263.120.408.576 Bytes frei


Here is the full output of XP-cmd demo call:

C:\PythonOgre\demos\ogre>C:\Python25\python.exe Demo_BSP.py
C:\Python25\lib\site-packages\ogre\renderer\OGRE\__init__.py:6: RuntimeWarning
to-Python converter for struct std::pair<class std::basic_string<char,struct s
::char_traits<char>,class std::allocator<char> > const ,class std::basic_strin
char,struct std::char_traits<char>,class std::allocator<char> > > already regi
ered; second conversion method ignored.
from _ogre_ import *
C:\Python25\lib\site-packages\ogre\io\OIS\__init__.py:1: RuntimeWarning: to-Py
on converter for class std::multimap<class std::basic_string<char,struct std::
ar_traits<char>,class std::allocator<char> >,class std::basic_string<char,stru
std::char_traits<char>,class std::allocator<char> >,struct std::less<class st
:basic_string<char,struct std::char_traits<char>,class std::allocator<char> >
class std::allocator<struct std::pair<class std::basic_string<char,struct std:
har_traits<char>,class std::allocator<char> > const ,class std::basic_string<c
r,struct std::char_traits<char>,class std::allocator<char> > > > > already reg
tered; second conversion method ignored.
from _ois_ import *
C:\Python25\lib\site-packages\ogre\io\OIS\__init__.py:1: RuntimeWarning: to-Py
on converter for struct std::pair<class std::basic_string<char,struct std::cha
traits<char>,class std::allocator<char> > const ,class std::basic_string<char,
ruct std::char_traits<char>,class std::allocator<char> > > already registered;
econd conversion method ignored.
from _ois_ import *
Creating resource group General
Creating resource group Internal
Creating resource group Autodetect
SceneManagerFactory for type 'DefaultSceneManager' registered.
Registering ResourceManager for type Material
Registering ResourceManager for type Mesh
Registering ResourceManager for type Skeleton
MovableObjectFactory for type 'ParticleSystem' registered.
OverlayElementFactory for type Panel registered.
OverlayElementFactory for type BorderPanel registered.
OverlayElementFactory for type TextArea registered.
Registering ResourceManager for type Font
ArchiveFactory for archive type FileSystem registered.
ArchiveFactory for archive type Zip registered.
FreeImage version: 3.9.2
This program uses FreeImage, a free, open source image library supporting all
mmon bitmap formats. See http://freeimage.sourceforge.net for details
Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pc
pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hd
g3,sgi
DDS codec registering
Registering ResourceManager for type HighLevelGpuProgram
Registering ResourceManager for type Compositor
MovableObjectFactory for type 'Entity' registered.
MovableObjectFactory for type 'Light' registered.
MovableObjectFactory for type 'BillboardSet' registered.
MovableObjectFactory for type 'ManualObject' registered.
MovableObjectFactory for type 'BillboardChain' registered.
MovableObjectFactory for type 'RibbonTrail' registered.
Loading library ../../plugins\RenderSystem_GL.dll
Installing plugin: GL RenderSystem
OpenGL Rendering Subsystem created.
Plugin successfully installed
Loading library ../../plugins\RenderSystem_Direct3D9.dll
OGRE EXCEPTION(7:): Could not load dynamic library ../../plugins\RenderSystem_
rect3D9.dll. System Error: Das angegebene Modul wurde nicht gefunden.
in DynLib::load at \Development\ogrenew\OgreMain\src\OgreDynLib.cpp (line 80)

C:\PythonOgre\demos\ogre>C:\Python25\python.exe Demo_BSP.py
C:\Python25\lib\site-packages\ogre\renderer\OGRE\__init__.py:6: RuntimeWarning
to-Python converter for struct std::pair<class std::basic_string<char,struct s
::char_traits<char>,class std::allocator<char> > const ,class std::basic_strin
char,struct std::char_traits<char>,class std::allocator<char> > > already regi
ered; second conversion method ignored.
from _ogre_ import *
C:\Python25\lib\site-packages\ogre\io\OIS\__init__.py:1: RuntimeWarning: to-Py
on converter for class std::multimap<class std::basic_string<char,struct std::
ar_traits<char>,class std::allocator<char> >,class std::basic_string<char,stru
std::char_traits<char>,class std::allocator<char> >,struct std::less<class st
:basic_string<char,struct std::char_traits<char>,class std::allocator<char> >
class std::allocator<struct std::pair<class std::basic_string<char,struct std:
har_traits<char>,class std::allocator<char> > const ,class std::basic_string<c
r,struct std::char_traits<char>,class std::allocator<char> > > > > already reg
tered; second conversion method ignored.
from _ois_ import *
C:\Python25\lib\site-packages\ogre\io\OIS\__init__.py:1: RuntimeWarning: to-Py
on converter for struct std::pair<class std::basic_string<char,struct std::cha
traits<char>,class std::allocator<char> > const ,class std::basic_string<char,
ruct std::char_traits<char>,class std::allocator<char> > > already registered;
econd conversion method ignored.
from _ois_ import *
Creating resource group General
Creating resource group Internal
Creating resource group Autodetect
SceneManagerFactory for type 'DefaultSceneManager' registered.
Registering ResourceManager for type Material
Registering ResourceManager for type Mesh
Registering ResourceManager for type Skeleton
MovableObjectFactory for type 'ParticleSystem' registered.
OverlayElementFactory for type Panel registered.
OverlayElementFactory for type BorderPanel registered.
OverlayElementFactory for type TextArea registered.
Registering ResourceManager for type Font
ArchiveFactory for archive type FileSystem registered.
ArchiveFactory for archive type Zip registered.
FreeImage version: 3.9.2
This program uses FreeImage, a free, open source image library supporting all
mmon bitmap formats. See http://freeimage.sourceforge.net for details
Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pc
pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hd
g3,sgi
DDS codec registering
Registering ResourceManager for type HighLevelGpuProgram
Registering ResourceManager for type Compositor
MovableObjectFactory for type 'Entity' registered.
MovableObjectFactory for type 'Light' registered.
MovableObjectFactory for type 'BillboardSet' registered.
MovableObjectFactory for type 'ManualObject' registered.
MovableObjectFactory for type 'BillboardChain' registered.
MovableObjectFactory for type 'RibbonTrail' registered.
Loading library ../../plugins\RenderSystem_GL.dll
Installing plugin: GL RenderSystem
OpenGL Rendering Subsystem created.
Plugin successfully installed
Loading library ../../plugins\RenderSystem_Direct3D9.dll
OGRE EXCEPTION(7:): Could not load dynamic library ../../plugins\RenderSystem_
rect3D9.dll. System Error: Das angegebene Modul wurde nicht gefunden.
in DynLib::load at \Development\ogrenew\OgreMain\src\OgreDynLib.cpp (line 80)

Game_Ender

11-05-2007 20:22:21

Make sure you have the latest version of DirectX installed.

chpyog

12-05-2007 08:18:13

Now I have the newest DirectX Drivers 9.0c and so it works. Thank you.