Errors when I run OGRE demos

arachide

18-11-2009 02:55:24

It looks like no one can run correctly

one sample as:

\demos\ogreal\demo_AL_01.py

Loading library ../../plugins\RenderSystem_GL.dll
OGRE EXCEPTION<7:InternalErrorException>: Could not load dynamic library ../../plugins/RenderSystem_GL.dll. System Error: The specified module could not be found.
in Dynlib:: load at .\src\Ogre\DynLib.cpp <line 89>
Exception AttributeError: 'soundManage' in <bound method RenderToTexttureApplication.__del__ of <__main__.RenderToTextureApplication object at 0x02625900>> ignored


my python ogre version: Python-Ogre-Core-1.7r9300
python version 2.6.4


Welcome any comment.


Thanks

arachide

andy

18-11-2009 05:19:25

Do demos in the /demos/ogre directory work ?

If you are in the demo directory and do a dir ../../plugins do you see the plugins files ?

It is intended for the demos to be installed 'inside' the PythonOgre directory -- so if you do a dir you will see plugins, packages_2.6, demos, etc..

Regards
Andy

arachide

18-11-2009 11:46:33

Thanks for your reply.

Do demos in the /demos/ogre directory work ?

***no

If you are in the demo directory and do a dir ../../plugins do you see the plugins files ?

***no, there is no plugins directory.

It is intended for the demos to be installed 'inside' the PythonOgre directory -- so if you do a dir you will see plugins, packages_2.6, demos, etc..

***I installed
http://sourceforge.net/projects/python-ogre/files/

the demo source code there is no plugin directory

Regards

arachide

andy

18-11-2009 12:34:41

does this message help..

You need to download the binary and the demos.. Extract the binaries first (say to c:\dev which will create a c:\dev\PythonOgreRelease directory) and then extract the demos into the binary directory (select c:\dev\PythonOgreRelease as the destination directory - so you end up with a c:\dev\PythongOgreRelease\demos directory)

Regards

Andy

arachide

19-11-2009 15:33:54

Thanks

python scripts worked!

but it said that d3dx9_42.dll was not found

Does this mean that python ogre does not support directx10?
My os is vista installed directx10
Do I need to uninstall directx10 and install directx9?

Best Regards

arachide

andy

21-11-2009 00:55:37

The DX10 driver is part of the Python-Ogre release, I've just never enabled it for testing as my development machine is DX9 only..

You can edit the plugins.cfg and change
Plugin=RenderSystem_Direct3D9.dllfor
Plugin=RenderSystem_Direct3D10.dllRegards
Andy

arachide

30-11-2009 23:58:17

Thanks

but it does not work.
it said that d3dx9_42.dll was not found

Sincerely

Arachide

andy

01-12-2009 15:30:16

You probably need to run the latest DirectX installer -- get it from here

Andy