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

Author Topic: Compiling SFML for VS2012  (Read 5453 times)

0 Members and 1 Guest are viewing this topic.

aaroncm

  • Newbie
  • *
  • Posts: 20
    • View Profile
Compiling SFML for VS2012
« on: October 04, 2012, 12:12:06 am »
Hey guys. I'm kinda new to recompiling libraries, and I'm not sure about how to recompile SFML to work with Visual Studio 2012 Express. CMake just gives me errors, and from what I have gathered off the net, it doesn't support the express edition. I get:

CMake Error: CMake was unable to find a build program corresponding to "Visual Studio 11".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.

I wanted to know, is there a fix, and if not, is there any alternative to CMake? Or if a pre-compiled version for 2012 is available to download somewhere.

It seems the crash problem I was running into (My previous thread) was caused by using the 2010 version on VS2012.

Thanks in advance ;D
« Last Edit: October 04, 2012, 12:14:47 am by aaroncm »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11035
    • View Profile
    • development blog
    • Email
Re: Compiling SFML for VS2012
« Reply #1 on: October 04, 2012, 12:38:39 am »
I'm not sure if it's really CMake that doesn't come along with the Express version...
Do you run the most recent version of CMake?

Anyways since I can imagine that this could happen, I uploaded a complete package of precompiled SFML libraries for MSVC11.

Download here (7zip/LZMA2 required) [10 MB]

It contains 32+64bit static+dynamic release+debug builds from the commit 757a785ed719023fdcfb5d0ac142512350fd890d.

Enjoy!  ;D
« Last Edit: October 04, 2012, 01:06:27 am by eXpl0it3r »
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

aaroncm

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Compiling SFML for VS2012
« Reply #2 on: October 04, 2012, 01:05:28 am »
Awesome thanks, but the link is broken xD

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11035
    • View Profile
    • development blog
    • Email
Re: Compiling SFML for VS2012
« Reply #3 on: October 04, 2012, 01:07:10 am »
Awesome thanks, but the link is broken xD
Silly me. xD
I only c&p the filename and forgot to add the stuff in front of it. *fixed*
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

aaroncm

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Compiling SFML for VS2012
« Reply #4 on: October 04, 2012, 01:12:08 am »
Thanks  ;D I can finally continue my project, it's working!

adomas

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Adomas Homepage
Re: Compiling SFML for VS2012
« Reply #5 on: January 13, 2013, 01:48:41 am »
The link seems to be broken. Can anyone please give me a new link?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11035
    • View Profile
    • development blog
    • Email
AW: Re: Compiling SFML for VS2012
« Reply #6 on: January 13, 2013, 02:16:33 am »
The link seems to be broken. Can anyone please give me a new link?
Unoffical Nightly Builds ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything