Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SFML 1.6 in visual C++ 2010  (Read 1878 times)

0 Members and 1 Guest are viewing this topic.

Chocolatesheep

  • Newbie
  • *
  • Posts: 17
    • View Profile
SFML 1.6 in visual C++ 2010
« on: November 28, 2011, 06:20:45 pm »
Hi. I'm new to sfml. I followed a few tutorials that I did in code::blocks. But here's the thing. I just can't work in code::blocks , I'm so used to VC++.
Now I need someone to tell me how to install SFML 1.6 in visual C++ 2010.
I tried it a few times and I keep getting linker errors. Now could any of you explain to me how I can do this or at least direct me to a good tutorial on this topic.

Atomical

  • Newbie
  • *
  • Posts: 12
    • View Profile
SFML 1.6 in visual C++ 2010
« Reply #1 on: November 28, 2011, 06:33:17 pm »
In the Linker -> Input section in your project properties you need to specify what libraries you're linking to

e.g

sfml-graphics.lib; sfml-window.lib; sfml-system.lib

You would know this if you actually went to the Tutorial page on the website instead of automatically giving up and starting to ask questions. Nor did you actually give us the linker errors you got so I'm just guessing that this is the problem you're experiencing.

http://sfml-dev.org/tutorials/1.6/start-vc.php

Serapth

  • Full Member
  • ***
  • Posts: 105
    • View Profile
SFML 1.6 in visual C++ 2010
« Reply #2 on: November 29, 2011, 09:20:28 pm »
Wierd, I swore I responded to this already...

Anyways, my C++ with SFML tutorial covers this in detail, especially this part.  So if you cant get going from atomical's instructions, my link is extremely detailed on setting up VS2k10 with SFML 1.6