The code I'm testing with is as follows:
#include <SFML/Graphics.hpp>
int main()
{
sf::RenderWindow window(sf::VideoMode(200, 200), "SFML works!");
sf::CircleShape shape(100.f);
shape.setFillColor(sf::Color::Green);
while (window.isOpen())
{
sf::Event event;
while (window.pollEvent(event))
{
if (event.type == sf::Event::Closed)
window.close();
}
window.clear();
window.draw(shape);
window.display();
}
return 0;
}
I also ran the debugger:
#0 691C4AF9 sf::VideoMode::VideoMode(unsigned int, unsigned int, unsigned int) () (C:\Users\User\Desktop\Game\Workspace\Game\bin\Debug\sfml-window-2.dll:??)
#1 00401416 main() (C:\Users\User\Desktop\Game\Workspace\Game\main.cpp:5)
When installing SFML, I first tried 1.6, but when that didn't work (same reason as now), I tried SFML 2.0. I followed the instructions on the website saying how to install it very carefully. I tried the debug and release configurations, and the .dll's are in both the debug and release folder with game.exe. That's about all I know.