Alright so I just upgraded to 1.6 and I can't get even a simple program running correctly. Maybe I'm getting a little rusty seeing as how I wrote an SFML engine for all of my games and never actually had to write any SFML code in the past month.
Let me list how I have everything set up and tell me if I'm missing something.
Preprocessor
Linker dependencies
sfml-graphics-d.lib
sfml-system-d.lib
sfml-audio-d.lib
sfml-window-d.lib
Source
#include <SFML/Graphics.hpp>
int main()
{
sf::RenderWindow App(sf::VideoMode(800, 600, 32), "SFML Graphics");
sf::Event Event;
while (App.IsOpened())
{
App.GetEvent(Event);
if(Event.Type == sf::Event::Closed)App.Close();
App.Clear();
App.Display();
}
return EXIT_SUCCESS;
}
All of the headers, libs, DLL's are in the right place and I'm using MSVC08. Not sure what the problem is here but I'm getting a runtime error at App.Clear();
I've tried creating a couple different projects to see if I'm messing anything up by accident but they all have the same results.