Same code, new PC, CEGUI Stopped working?

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

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

Re: Same code, new PC, CEGUI Stopped working?

Postby Ident » Sat Dec 05, 2015 16:45

Actually I dont know. Didn't change anything on that end - we would have to ask Martin.
CrazyEddie: "I don't like GUIs"

Illiander
Not too shy to talk
Not too shy to talk
Posts: 21
Joined: Mon Sep 06, 2010 20:03

Re: Same code, new PC, CEGUI Stopped working?

Postby Illiander » Wed Feb 03, 2016 19:48

And I finally made some progress on this:

With:
Cegui 0.8.4
Boost 1.56.0
glm 0.9.3.2
I am compiling again.

Code: Select all

menu->getChild("MenuWindow/ExitButton")->subscribeEvent(CEGUI::PushButton::EventClicked,std::bind(&MenuEventHandler::Exit, this));


Turns out that my MenuEventHandler::Exit function returned void, and subscribeEvent() *really* doesn't like having void functions passed in. Replaced it with a dummy int return and it's compiling again. That was a hard one to find.

I'm guessing that the thing that made it stop working was something to do with a compiler update making things a little more restrictive or something.

Still have some runtime crashes that I didn't have before, but they could easily be bits left over from debugging attempts.


Return to “Help”

Who is online

Users browsing this forum: Baidu [Spider] and 2 guests