1
SFML projects / Re: SFGUI (0.3.0 released)
« on: April 27, 2016, 10:41:35 pm »
SFGUI crashes for me if I close console application window with its own "close" button. code is as follows:
More complicated code including standard samples crashes as well when I close console window.
It crashes somewhere in sfg::SFGUI spamming all the console with messages like these:
With an access violation like this:
I'm using Visual Studio 2015 with latest official SFML 2.3.0 x86 distribution and prebuilt SFGUI from here https://nightlybuilds.ch/project/show/5/SFGUI/
I have tested my previous setup that uses year-old(approximately) versions of both SFML and SFGUI and they both work fine without crashing.
#include <SFGUI/SFGUI.hpp>
#include <SFGUI/Widgets.hpp>
#include <SFML/Graphics.hpp>
int main()
{
sf::RenderWindow appWindow;
appWindow.resetGLStates();
sfg::SFGUI sfgui;
while (1);
return 0;
}
#include <SFGUI/Widgets.hpp>
#include <SFML/Graphics.hpp>
int main()
{
sf::RenderWindow appWindow;
appWindow.resetGLStates();
sfg::SFGUI sfgui;
while (1);
return 0;
}
More complicated code including standard samples crashes as well when I close console window.
It crashes somewhere in sfg::SFGUI spamming all the console with messages like these:
With an access violation like this:
I'm using Visual Studio 2015 with latest official SFML 2.3.0 x86 distribution and prebuilt SFGUI from here https://nightlybuilds.ch/project/show/5/SFGUI/
I have tested my previous setup that uses year-old(approximately) versions of both SFML and SFGUI and they both work fine without crashing.