SFML community forums

Help => General => Topic started by: aaroncm on October 04, 2012, 12:12:06 am

Title: Compiling SFML for VS2012
Post by: aaroncm 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
Title: Re: Compiling SFML for VS2012
Post by: eXpl0it3r 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) (http://my-gate.net/pub/SFML-MSVC11.7z) [10 MB]

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

Enjoy!  ;D
Title: Re: Compiling SFML for VS2012
Post by: aaroncm on October 04, 2012, 01:05:28 am
Awesome thanks, but the link is broken xD
Title: Re: Compiling SFML for VS2012
Post by: eXpl0it3r 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*
Title: Re: Compiling SFML for VS2012
Post by: aaroncm on October 04, 2012, 01:12:08 am
Thanks  ;D I can finally continue my project, it's working!
Title: Re: Compiling SFML for VS2012
Post by: adomas on January 13, 2013, 01:48:41 am
The link seems to be broken. Can anyone please give me a new link?
Title: AW: Re: Compiling SFML for VS2012
Post by: eXpl0it3r 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 (http://en.sfml-dev.org/forums/index.php?topic=9513.0) ;)