SFML community forums

Help => General => Topic started by: tbop on July 10, 2013, 05:52:39 pm

Title: [SOLVED] How to compile SFML in 64 bit with CMake
Post by: tbop on July 10, 2013, 05:52:39 pm
Hi,


I could not find a flag or a switch in CMake that would allow to compile the static libraries in 64 bit. I kind of did it manually within VS2010 but it fails when linked to another program, it can't find some symbols from glew mainly.


I could not find a tutorial about it. One guy said he had managed to do it but the URL he's giving seems to be kaput.

Is there a hidden flag somewhere in the CMake script to generate this?


Cheers
Title: Re: How to compile SFML in 64 bit with CMake
Post by: tbop on July 10, 2013, 05:59:30 pm
Ok. Basically that was easy I just had to update the external libraries' folder paths to the x64 ones in the properties of sfml-graphics.
Title: Re: [SOLVED] How to compile SFML in 64 bit with CMake
Post by: Laurent on July 10, 2013, 06:14:37 pm
Just choose the Visual Studio x64 generator and everything should be ok.