Yeah, I was still linking using the global compiler settings like you had to do for 1.6
. Now my code compiles without any errors, thanks
However when I run the code it throws an error saying:
The procedure entry point __gxx_personality_v0 could not be located in the dynamic link library libstdc++-6.dll.
Here is my code, but I doubt there is anything wrong with it. It's from the tutorial on the main site.
#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;
}