6
« on: October 15, 2013, 01:22:23 am »
i installed the files and configured everything properly, it work once then crashed and i realized some settings were missing so i did them too. i am using windows 8, visual studio 2012
then it doesnt work any more, these are the errors i get
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\%USERPROFILE%\Documents\Visual Studio 2012\Projects\Game\Source.obj Game
i get 17 of those errors
i am trying this code
#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;
}
sorry if its a stupid error, but i am a noob