Comon ogre3d fault.

Problems building or running the engine, queries about how to use features etc.
Post Reply
User avatar
paul424
Gnome
Posts: 314
Joined: Thu May 24, 2012 7:16 pm
x 13

Comon ogre3d fault.

Post by paul424 »

1f. root->showConfigDialog displays an empty window.
User avatar
tod
Troll
Posts: 1394
Joined: Wed Aug 02, 2006 9:41 am
Location: Bucharest
x 94
Contact:

Re: Comon ogre3d fault.

Post by tod »

You may have no render systems.
User avatar
puso1990
Gnoblar
Posts: 24
Joined: Mon Feb 27, 2012 8:41 pm
Location: Slovenia
x 3

Re: Comon ogre3d fault.

Post by puso1990 »

Like Tod said you may have no render systems.

Few things can cause this problem. First of all, check the Ogre.log file. You should find something like this:
Loading library .\RenderSystem_Direct3D9
07:01:05: Installing plugin: D3D9 RenderSystem
07:01:05: D3D9 : Direct3D9 Rendering Subsystem created.
07:01:05: D3D9: Driver Detection Starts
07:01:05: D3D9: Driver Detection Ends
07:01:05: Plugin successfully installed
07:01:05: Loading library .\RenderSystem_GL
07:01:06: Installing plugin: GL RenderSystem
07:01:06: OpenGL Rendering Subsystem created.
07:01:06: Plugin successfully installed
07:01:06: Loading library .\Plugin_ParticleFX
07:01:06: Installing plugin: ParticleFX...
If you don't see any plugins installed, then check if you have plugins.cfg file, or if you are manualy loading plugins within your c++ code.

If you have plugins.cfg file and still have this problem, then your log file may say something like this:
OGRE EXCEPTION(6:FileNotFoundException): 'plugins.cfg' file not found!
Even if you have plugins.cfg file, and your run with Visual Studio on Start Debuging command or F5, you might want to check your project properties. Under Debugging, Working directory should be the same as the Output directory, otherwise your application will search for plugins.cfg in your project folder (if you have working directory set to default :) )

Hope this helps :)
User avatar
paul424
Gnome
Posts: 314
Joined: Thu May 24, 2012 7:16 pm
x 13

Re: Comon ogre3d fault.

Post by paul424 »

Good ,good many thanks , btw it's for the Ultra FAQ I prepare : I paste your answers here : http://www.ogre3d.org/tikiwiki/tiki-ind ... ty_window.
EDIT : Anyway, I get :

Code: Select all

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.
./plugins.cfg not found, automatic plugin loading disabled.
*-*-* OGRE Initialising
*-*-* Version 1.9.0 (Ghadamon)
Creating resource group GUI
Added resource location './/gui' of type 'FileSystem' to resource group 'GUI' with recursive option
Added resource location './/gui/schemas' of type 'FileSystem' to resource group 'GUI' with recursive option
Creating resource group Graphics
Added resource location './/materials/RTShaderLib' of type 'FileSystem' to resource group 'Graphics' with recursive option
Added resource location './/materials/RTShaderLib/materials' of type 'FileSystem' to resource group 'Graphics' with recursive option
Added resource location './/materials/RTShaderLib/GLSL' of type 'FileSystem' to resource group 'Graphics' with recursive option
Added resource location './/materials/RTShaderLib/Cg' of type 'FileSystem' to resource group 'Graphics' with recursive option
Added resource location './/materials/scripts' of type 'FileSystem' to resource group 'Graphics' with recursive option
Added resource location './/materials/textures' of type 'FileSystem' to resource group 'Graphics' with recursive option
Added resource location './/models' of type 'FileSystem' to resource group 'Graphics' with recursive option
Creating resource group Music
Added resource location './/music' of type 'FileSystem' to resource group 'Music' with recursive option
Creating resource group Sound
Added resource location './/sounds' of type 'FileSystem' to resource group 'Sound' with recursive option
Error: Shell widget menu has zero width and/or height
And not the Ogre:;Exception ...
Post Reply