Cannot run samples on Linux (error: no rendering system)

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

ephracis
Just popping in
Just popping in
Posts: 1
Joined: Mon Feb 16, 2009 21:54

Cannot run samples on Linux (error: no rendering system)

Postby ephracis » Mon Feb 16, 2009 21:59

I have just compiled CEGUI 0.6.1 on my Ubuntu laptop and I get this error when I try to run the sample demos:

OGRE EXCEPTION(1:InvalidStateException): Cannot initialise - no render system has been selected. in Root::initialise at OgreRoot.cpp (line 510)

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Mon Feb 16, 2009 22:20

Hi, and welcome :)

I think this is caused by a missing 'plugins.cfg' file in the Samples/bin directory (we actually have one in the svn code, but it's missed in packaging - oops :oops:).

I'm not sure if the minimal required stuff in that file has changed, but the file we have (that used to work, not sure about now), contains this (as an example):

Code: Select all

# To successfully use the Ogre renderer with the samples, you
# need to point "PluginFolder" to where the Ogre plugin modules
# are to be found.  Also, add the D3D systems on additional
# 'Plugin' lines if you want those available under MS Windows.

PluginFolder=/usr/local/lib/OGRE
Plugin=RenderSystem_GL


CE.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 7 guests