Problems installing SFML 2.0 on Visual Studio 2012

I installed SFML after this http://www.youtube.com/watch?v=VcPRJE6Rt0o tutorial and the problem is that I'm getting this error "1>LINK : fatal error LNK1104: cannot open file 'sfml-windows-d.lib'" when trying to debug the code. Help!


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  #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;
}
You should be linking to sfml-window-d.lib, not sfml-windows-d.lib.
Topic archived. No new replies allowed.