[solved] Assertion when I create a simple button

Brocan

12-10-2008 19:06:41

I have created a button with the code of the wiki: http://www.ogre3d.org/wiki/index.php/MyGUI_quickstart

MyGUI::Gui * mGUI = new MyGUI::Gui();
mGUI->initialise(mWindow);

MyGUI::ButtonPtr button = mGUI->createWidget<MyGUI::Button>("Button", 10, 10, 300, 26, MyGUI::ALIGN_DEFAULT, "Main");


And when i run the app in debug mode, i get this assertion in the createWidget line.:



Any ideas?

Thanks in advance

Altren

12-10-2008 20:30:45

What changed since you tried to run apps with MyGUI previous time (looks like they worked in "Keyboard chaos").

Altren

13-10-2008 02:09:14

Try to get latest revision (1215). I think I fixed this, but I'm not sure.

Brocan

13-10-2008 09:57:28

What changed since you tried to run apps with MyGUI previous time (looks like they worked in "Keyboard chaos").

Nothing, I deleted all, and I only downloaded the revision with the ois input, and compile it. When I run this sample code, I get the assertion with this code and in the demos :?

Altren

13-10-2008 10:37:49

I just fixed this in revision 1215, so you need to get it. This assertion was caused by new leaks manager in Ogre 1.6.

Brocan

13-10-2008 11:50:24

Well, it seems to be solved.

Thanks ! :D