Greetings,
I just wanted to say how much I really like SFML, and I was able to get it up and working on another computer just fine running Windows XP. I installed this on my Vista box using CodeBlocks/MinGW and I am able to compile the application just fine, but when I run the application it immediately locks up and crashes. Whats wierd is that the clock demo works perfectly, so this problem only occurs with a gui.
The code I am using for making a window is:
#include <SFML/System.hpp>
#include <SFML/Window.hpp>
int main(int argc, char** argv)
{
sf::Window App(sf::VideoMode(800, 600, 32), "SFML Window");
bool Running = true;
while (Running)
{
App.Display();
}
return EXIT_SUCCESS;
}
So its not anything terribly complicated. Last night at my other machine I got a sprite demo working without any problems, so I am fairly confused as to why this is occuring.
Thanks in advance for the help!