Call to showConfigDialog does absolutely nothing

Problems building or running the engine, queries about how to use features etc.
Post Reply
thevbw2
Gnoblar
Posts: 1
Joined: Fri Jun 09, 2023 12:15 pm

Call to showConfigDialog does absolutely nothing

Post by thevbw2 »

Ogre Version: 1.12.10 (latest available from debian)
Operating System: Debian 12 Bookworm 64-bit
Render System: :?: None yet, OpenGL and vk available

Hello, I am new to OGRE (coming from some light use of Irrlicht) and have been having trouble getting the configuration menu to appear on the screen.

When...

Code: Select all

OgreRoot->showConfigDialog(NULL);

...is called, some initialisation info is printed in the console, but no window appears.

I am including GLEW, <OGRE/Ogre.h>, and <OGRE/OgreConfigDialog.h>, and I am linking SDL2main, OgreMain, SDL2, and GL, using GCC w CodeBlocks IDE to build. What else do I have to link/include for this function to work? What do I need set up?

When debugging, it runs straight through that line to the initialise statement where it complains about not having a render system.
Complete relevant code:

Code: Select all

int main(int argc, char** argv)
{
    glewExperimental = GL_TRUE;
    Ogre::Root * OgreRoot = new Ogre::Root("plugins.cfg");
    std::cout << OgreRoot->showConfigDialog(NULL);

I have been stuck on this for days, can't find an explanation in the documentation :?
Please excuse my obliviousness!

Post Reply