1
SFML projects / Re: TGUI: a c++ GUI for SFML (with Form Builder)
« on: October 16, 2012, 09:38:53 pm »I never had crashes there before.
According to what I see in the backtrace, this happens when you press the mouse button, right?
unfocusAllObjects can't crash if no objects were created. The only thing I can think of is that somehow the m_FocusedObject variable is messed up, but it is changed in many places.
Could you show a minimal example of how to reproduce this crash?
Some other info might also help (OS, compiler, static/dynamic linking).
I don't know what you meant with linking to openGL so I made a code::blocks project which links to SFML 2.0 and has the TGUI source in it. There is some very minimal code in the main file which reproduces the crash. You might have to change the location of your SFML lib files in the project settings to get it to compile.
For some extra info: I'm using Ubuntu 12.04 x64 with gcc 4.6.3. Let me know if you find anything interesting or need anything else!
(The project was too large to attach to the post so I sent you a PM with a link.)