Hi, first time posting
Recently downloaded SFML but haven't gotten it to work, whenever i'm using the code found in the toturial i'm getting errors:
obj\Debug\Untitled2.o||In function `main':|
C:\SpelProgram\Test\Test\Untitled2.cpp|5|undefined reference to `sf::String::String(char const*, std::locale const&)'|
C:\SpelProgram\Test\Test\Untitled2.cpp|5|undefined reference to `sf::VideoMode::VideoMode(unsigned int, unsigned int, unsigned int)'|
C:\SpelProgram\Test\Test\Untitled2.cpp|5|undefined reference to `sf::RenderWindow::RenderWindow(sf::VideoMode, sf::String const&, unsigned int, sf::ContextSettings const&)'|
C:\SpelProgram\Test\Test\Untitled2.cpp|6|undefined reference to `sf::CircleShape::CircleShape(float, unsigned int)'|
C:\SpelProgram\Test\Test\Untitled2.cpp|7|undefined reference to `sf::Color::Green'|
C:\SpelProgram\Test\Test\Untitled2.cpp|7|undefined reference to `sf::Shape::setFillColor(sf::Color const&)'|
C:\SpelProgram\Test\Test\Untitled2.cpp|15|undefined reference to `sf::Window::close()'|
C:\SpelProgram\Test\Test\Untitled2.cpp|12|undefined reference to `sf::Window::pollEvent(sf::Event&)'|
C:\SpelProgram\Test\Test\Untitled2.cpp|18|undefined reference to `sf::Color::Color(unsigned char, unsigned char, unsigned char, unsigned char)'|
C:\SpelProgram\Test\Test\Untitled2.cpp|18|undefined reference to `sf::RenderTarget::clear(sf::Color const&)'|
C:\SpelProgram\Test\Test\Untitled2.cpp|19|undefined reference to `sf::RenderStates::Default'|
C:\SpelProgram\Test\Test\Untitled2.cpp|19|undefined reference to `sf::RenderTarget::draw(sf::Drawable const&, sf::RenderStates const&)'|
C:\SpelProgram\Test\Test\Untitled2.cpp|20|undefined reference to `sf::Window::display()'|
C:\SpelProgram\Test\Test\Untitled2.cpp|9|undefined reference to `sf::Window::isOpen() const'|
C:\SpelProgram\Test\Test\Untitled2.cpp|23|undefined reference to `sf::RenderWindow::~RenderWindow()'|
C:\SpelProgram\Test\Test\Untitled2.cpp|5|undefined reference to `sf::RenderWindow::~RenderWindow()'|
C:\SpelProgram\Test\Test\Untitled2.cpp|23|undefined reference to `sf::RenderWindow::~RenderWindow()'|
obj\Debug\Untitled2.o||In function `ZN2sf11CircleShapeD1Ev':|
C:\SFML-2.1\include\SFML\Graphics\CircleShape.hpp|41|undefined reference to `vtable for sf::CircleShape'|
C:\SFML-2.1\include\SFML\Graphics\CircleShape.hpp|41|undefined reference to `vtable for sf::CircleShape'|
C:\SFML-2.1\include\SFML\Graphics\CircleShape.hpp|41|undefined reference to `sf::Shape::~Shape()'|
||=== Build finished: 20 errors, 0 warnings (0 minutes, 0 seconds) ===|
After lurking around i've come to the conclusion I'm linking the library wrong somehow, however I've already tried doing the installation all over again following the toturiol as close as I can with no result.
I'm using the static libraries
Any help/or insight would be appreciated
-tobbe