Code: Select all
using namespace CEGUI;
// create renderer and enable extra states
OpenGL3Renderer& cegui_renderer = OpenGL3Renderer::create(Sizef(800.f, 600.f));
cegui_renderer.enableExtraStateSettings(true);
// create CEGUI system object
System::create(cegui_renderer);
m_context = &System::getSingleton().getDefaultGUIContext();
instead of
Code: Select all
m_context = &CEGUI::OpenGL3Renderer::bootstrapSystem()
But nevertheless, since you cannot run the SDL2 template, there seems to be something really broken somewhere. I will zip up my cegui SDK for you tomorrow so that you can try that one instead of yours. Maybe you are right and are not compiling CEGUI correctly.