cegui opengl template (glfw3.cpp) has exception

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

sherloc987
Just popping in
Just popping in
Posts: 1
Joined: Sat Nov 10, 2018 13:02

cegui opengl template (glfw3.cpp) has exception

Postby sherloc987 » Sat Nov 10, 2018 13:04

I'm trying to compile and run the OpenGL template provided with CEGUI on CEGUI 0.8.7. You can find the code for this template [here: https://github.com/sn-archi/cegui/blob/ ... /glfw3.cpp]:

I've changed the code to just use this main block:

int main(int argc, char* argv[])

And by inserting an actual path here (not actually ...):

String ceguiDir = ".../cegui-0.8.7/"; DefaultResourceProvider* rp = static_cast(System::getSingleton().getResourceProvider()); rp->setResourceGroupDirectory("schemes", ceguiDir + "datafiles/schemes/"); rp->setResourceGroupDirectory("imagesets", ceguiDir + "datafiles/imagesets/"); rp->setResourceGroupDirectory("fonts", ceguiDir + "datafiles/fonts/"); rp->setResourceGroupDirectory("layouts", ceguiDir + "datafiles/layouts/"); rp->setResourceGroupDirectory("looknfeels", ceguiDir + "datafiles/looknfeel/"); rp->setResourceGroupDirectory("lua_scripts", ceguiDir + "datafiles/lua_scripts/"); rp->setResourceGroupDirectory("schemas", ceguiDir + "datafiles/xml_schemas/");
https://www.techavy.com/kickass-proxy-kat-unblocked
https://freemoviesite.me/
https://frpbypassapk.net/
https://techranc.com/eztv-proxy-sites/
And I get an exception at the following line:

System::getSingleton().getDefaultGUIContext().injectTimePulse(time_elapsed);

Exception reads: "Exception thrown at 0x00007FF7DCC45ECB in playground.exe: 0xC0000005: Access violation reading location 0x0000006F00000051.".

I'm compiling on Visual Studio Express 2017 and I've included just about every lib I can find from CEGUI, not to mention a good number from some OpenGL tutorials I was working on (e.g. opengl32.lib glu32.lib):

CEGUIBase-0.lib
CEGUIOpenGLRenderer-0.lib
CEGUICoreWindowRendererSet.lib
CEGUIExpatParser.lib
CEGUICommonDialogs-0.lib
CEGUIDirect3D9Renderer-0.lib
CEGUIDirect3D11Renderer-0.lib
CEGUISILLYImageCodec.lib
D3DX11Effects.lib
freetype.lib
glew.lib
glfw.lib
jpeg.lib
libexpat.lib
libpng.lib
pcre.lib
SILLY.lib
zlib.lib
I'm really new to CEGUI, so I'm also going through the basic tutorials, but I kind of thought this template would just work out of the box. What am I missing?

Sorry in advance if I'm jumping ahead and a beginner just shouldn't be trying this template. Thanks for your responses.
Last edited by sherloc987 on Fri Nov 16, 2018 09:31, edited 1 time in total.

User avatar
Ident
CEGUI Team
Posts: 1893
Joined: Sat Oct 31, 2009 13:57
Location: Austria

Re: cegui opengl template (glfw3.cpp) has exception

Postby Ident » Sat Nov 10, 2018 13:23

Did you build the application templates with cmake and try to build and run them onmodified and on their own? They have to run as expected.
CrazyEddie: "I don't like GUIs"


Return to “Help”

Who is online

Users browsing this forum: No registered users and 2 guests