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

Author Topic: Bulding SFML in VS2010  (Read 2393 times)

0 Members and 1 Guest are viewing this topic.

Xander314

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
    • http://sfmlcoder.wordpress.com/
    • Email
Bulding SFML in VS2010
« on: March 20, 2011, 11:03:38 am »
I am trying to build SFML 1.6 from the sources, but I am having problems getting Visual C++ 2010 Express to create the import libraries. i saw another thread about this and tried what it suggested: correcting the output directory and adding the names of the import libraries.

However, this still doesn't work. The only way I could get VC++ to build import libraries was by putting the full directory path and filename in the import library property. This doesn't seem like the best way to do it.

Does anyone have any suggestions?

Tellalca

  • Newbie
  • *
  • Posts: 2
    • View Profile
Bulding SFML in VS2010
« Reply #1 on: March 20, 2011, 05:24:27 pm »
Yes it is very problematic to do it in VS 2010. I switched to Ubuntu to try the library. I can't get it installed for VS 2010.

Xander314

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
    • http://sfmlcoder.wordpress.com/
    • Email
Bulding SFML in VS2010
« Reply #2 on: March 21, 2011, 11:23:53 am »
Ah well I have sorted it now. I just used CMake to generate an actual Visual Studio 2010 project rather than importing the existing VS2008 one. Al the settings were correct then and it worked.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
Bulding SFML in VS2010
« Reply #3 on: March 21, 2011, 12:24:05 pm »
SFML 1.6 isn't developped further. If I were you, I would start to use the latest SVN snapshot of SFML 2.

Version 2.0 is going to be released soon and contains a lot of improvements. It also works well with VS 2010.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

Xander314

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
    • http://sfmlcoder.wordpress.com/
    • Email
Bulding SFML in VS2010
« Reply #4 on: March 21, 2011, 12:41:32 pm »
Thanks for the tip nexus. I have in fact already done that - when I said I used CMake I meant I had used CMake with SFML 2. I didn't make it very clear though...

 

anything