I'm trying to get SFML 2.2 to work on codeblocks, however I can't seem to get it to work.
I'm running the sample code given, I follow the tutorial on the website, as well as multiple others to be sure I was doing it correctly. I have no clue why it's not working. I'm also confused as to why it's references a directory in my computer that doesn't exist.
#include <SFML/Graphics.hpp>
int main()
{
sf::RenderWindow win(sf::VideoMode(200, 200), "SFML Test");
sf::CircleShape shape(100.f);
shape.setFillColor(sf::Color::Green);
while (win.isOpen())
{
sf::Event event;
while (win.pollEvent(event))
{
if (event.type == sf::Event::Closed)
{
win.close();
}
}
win.clear();
win.draw(shape);
win.display();
}
return 0;
}
Added the error message as an attachment, as well as my linker settings.