Sanjeet kumar
Sanjeet kumar

Reputation: 3441

Error in Cmake "The C compiler identification is unknown"

I'm getting this error while configure on CMake

  1. The C compiler identification is unknown The CXX compiler identification is unknown CMake Error at CMakeLists.txt:35 (project): No CMAKE_C_COMPILER could be found. CMake Error at CMakeLists.txt:35 (project): No CMAKE_CXX_COMPILER could be found. Configuring incomplete, errors occurred! See also "E:/project/SFML-2.3.2/build/CMakeFiles/CMakeOutput.log". See also "E:/project/SFML-2.3.2/build/CMakeFiles/CMakeError log".


purpose : i just want to build the SFML with CMake and getting this error

system info: i'm using windows 10 64-bit OS ,

installed :

Upvotes: 1

Views: 5843

Answers (1)

Amadeusz
Amadeusz

Reputation: 1706

I can't tell if your are not using it already but if you are on Windows I would use GUI for CMake:

enter image description here

You sholud see this window when trying to configure your build and you sholud be able to pick the correct generator (Visual Studio 14 2015 Win64 in you case).

I'm getting this error when specyfing generator that is simply not installed on my machine.

Upvotes: -2

Related Questions