for the past 7 hours, i've looked through numerous videos on youtube, looked at the documentation, looked at other tutorails, everything.
But i still have errors when running the simple program:
#include "stdafx.h"
#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;
}
heres the error:
Error 1 error LNK2019: unresolved external symbol "public: __thiscall sf::String::String(char const *,class std::locale const &)" (??0String@sf@@QAE@PBDABVlocale@std@@@Z) referenced in function _main C:\Users\Flixstix\Documents\Visual Studio 2013\Projects\ConsoleApplication2\ConsoleApplication2\main.obj ConsoleApplication2
there are numerous ones like that but instead of :"public__[insert]" instead.