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

Author Topic: [SOLVED] How to compile SFML in 64 bit with CMake  (Read 2043 times)

0 Members and 1 Guest are viewing this topic.

tbop

  • Newbie
  • *
  • Posts: 34
    • View Profile
[SOLVED] How to compile SFML in 64 bit with CMake
« 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
« Last Edit: July 10, 2013, 05:59:41 pm by tbop »

tbop

  • Newbie
  • *
  • Posts: 34
    • View Profile
Re: How to compile SFML in 64 bit with CMake
« Reply #1 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.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: [SOLVED] How to compile SFML in 64 bit with CMake
« Reply #2 on: July 10, 2013, 06:14:37 pm »
Just choose the Visual Studio x64 generator and everything should be ok.
Laurent Gomila - SFML developer

 

anything