Just followed the tutorial and tried to compile the example code but got error messages:
||=== Build: Debug in test (compiler: GNU GCC Compiler) ===|
obj\Debug\src\test.o||In function `main':|
C:\test\src\test.cpp|5|undefined reference to `sf::String::String(char const*, std::locale const&)'|
C:\test\src\test.cpp|5|undefined reference to `sf::VideoMode::VideoMode(unsigned int, unsigned int, unsigned int)'|
C:\test\src\test.cpp|5|undefined reference to `sf::RenderWindow::RenderWindow(sf::VideoMode, sf::String const&, unsigned int, sf::ContextSettings const&)'|
C:\test\src\test.cpp|6|undefined reference to `sf::CircleShape::CircleShape(float, unsigned int)'|
C:\test\src\test.cpp|7|undefined reference to `sf::Color::Green'|
C:\test\src\test.cpp|7|undefined reference to `sf::Shape::setFillColor(sf::Color const&)'|
C:\test\src\test.cpp|15|undefined reference to `sf::Window::close()'|
C:\test\src\test.cpp|12|undefined reference to `sf::Window::pollEvent(sf::Event&)'|
C:\test\src\test.cpp|18|undefined reference to `sf::Color::Color(unsigned char, unsigned char, unsigned char, unsigned char)'|
C:\test\src\test.cpp|18|undefined reference to `sf::RenderTarget::clear(sf::Color const&)'|
C:\test\src\test.cpp|19|undefined reference to `sf::RenderStates::Default'|
C:\test\src\test.cpp|19|undefined reference to `sf::RenderTarget::draw(sf::Drawable const&, sf::RenderStates const&)'|
C:\test\src\test.cpp|20|undefined reference to `sf::Window::display()'|
C:\test\src\test.cpp|9|undefined reference to `sf::Window::isOpen() const'|
C:\test\src\test.cpp|23|undefined reference to `sf::RenderWindow::~RenderWindow()'|
C:\test\src\test.cpp|23|undefined reference to `sf::RenderWindow::~RenderWindow()'|
C:\test\src\test.cpp|23|undefined reference to `sf::RenderWindow::~RenderWindow()'|
obj\Debug\src\test.o||In function `ZN2sf11CircleShapeD1Ev':|
C:\SFML-2.2\include\SFML\Graphics\CircleShape.hpp|41|undefined reference to `vtable for sf::CircleShape'|
C:\SFML-2.2\include\SFML\Graphics\CircleShape.hpp|41|undefined reference to `vtable for sf::CircleShape'|
C:\SFML-2.2\include\SFML\Graphics\CircleShape.hpp|41|undefined reference to `sf::Shape::~Shape()'|
||=== Build failed: 20 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
seems like a linker problem but i did link sfml-graphics sfml-window and sfml-system, cant figure out what's wrong, any help?