SFML community forums
Help => General => Topic started by: Aquacalvin on February 24, 2014, 07:52:23 pm
-
Hello everyone! I am trying to re-compile SFML with CMake, but I have run into some problems. When I enter the file locations and click configure, it says something to the extent of "can't find CMakeLists.txt". The reason I am confused is because I got CMakeLists.txt off of the SFML GitHub page. I also put the file in the SFML folder. I have no idea what the problem. Please help me.
-
What do you mean that you just got the CMakeLists.txt file off of github? You should have downloaded (preferably cloned) the entire github repository.
-
GitHub has CMakeLists.txt. I found out though that the SFML source comes with CMakeLists.txt. I still have problems with compiling. Question, I have VS 2013. What compiler do I choose when choose a compiler in CMake? Thanks.
Calvin
-
You don't just need the CMakeLists.txt file. You need the entire source code of SFML. Just clone the git repository.
As for "what compiler do I choose" - have you considered simply choosing the compiler that you have?
And if the compiler that you have is not a possible choice, then either pick as close as possible or change your compiler or hack the cmake files to fit your compiler.
-
The compiler options of CMake are somewhat different to MSVC's versioning. Visual Studio 12 is Visual Studio 2013 and Visual Studio 11 is Visual Studio 2012, because MSVC2013 is Microsoft-internally referred to as version 12.
-
The compiler options of CMake are somewhat different to MSVC's versioning. Visual Studio 12 is Visual Studio 2013 and Visual Studio 11 is Visual Studio 2012, because MSVC2013 is Microsoft-internally referred to as version 12.
True. But that's not exactly a deep arcane secret. That info is readily available with a little research (aka Google).
-
But that's not exactly a deep arcane secret.
Never said anything like that ;)