How to setup cmake on windows
25,611
Visual Studio 11 Win64 is the wrong generator for Visual Studio 2013. You need to use Visual Studio 12 2013 Win64 if you are using cmake-3.x or Visual Studio 12 Win64 for cmake-2.8.x. A list of the visual studio generators is here.
Related videos on Youtube
Author by
anthony corrado
Updated on October 08, 2020Comments
-
anthony corrado over 3 years
I'm trying to compile a program that requires Cmake and boost on windows. I installed visual studio 2013 express and I cant get cmake to compile the program.
cmake -G "Visual Studio 11 Win64" .. -- The C compiler identification is unknown -- The CXX compiler identification is unknow CMake Error in : No CMAKE_C_COMPILER could be found. CMake Error in : No CMAKE_CXX_COMPILER could be found.
-
UnholySheep over 9 yearshave you actually run "Configure" on the cmake file? you might also consider using cmake-gui.exe
-
UnholySheep over 9 yearsWell that does not change the fact that configure is failing for you (for whatever reason), and therefore you cannot generate a visual studio project. The best person to ask would still be the author of the program as she/he might now what can cause this error
-
drescherjm over 9 years
Visual Studio 11 Win64
is the wrong generator for Visual Studio 2013. I believe you needVisual Studio 12 2013 Win64
if you are using cmake-3.x.
-
-
anthony corrado over 9 yearsI realized that late last night. I still have to figure out what I did wrong when I installed boost though.