Same code, new PC, CEGUI Stopped working?
Moderators: CEGUI MVP, CEGUI Team
Re: Same code, new PC, CEGUI Stopped working?
Actually I dont know. Didn't change anything on that end - we would have to ask Martin.
CrazyEddie: "I don't like GUIs"
Re: Same code, new PC, CEGUI Stopped working?
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.
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.
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.
Who is online
Users browsing this forum: Google [Bot] and 36 guests