

Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.Ĭan anybody help solve this issue? Thanks. Tell CMake where to find the compiler by setting either the environment variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.ĬMake Error at CMakeLists.txt:19 (project): The CMAKE_CXX_COMPILER: cl To fix this problem, run cmake from the Visual Studio Command Prompt (vcvarsall.bat). This environment is unable to invoke the cl compiler. To use the NMake generator with Visual C++, cmake must be run from a shell that can use the compiler cl from the command line. Is not a full path and was not found in the PATH. The C compiler identification is unknown - The CXX compiler identification is unknown CMake Error at CMakeLists.txt:19 (project): The CMAKE_C_COMPILER: cl Both will be assumed to be the same as the current working directory, but note that this warning will become a fatal error in future CMake releases.

I've tried running CMake from the command line, from the Visual Studios developer command line and from the GUI and they all give me the same error:ĬMake Warning: No source or binary directory provided.
#Mingw cmake command not found install
I'm trying to install a program (Treerecs if that means anything to anyone) that apparently requires CMake to compile it. I've tried googling the answer to this question and haven't found an answer. I'm just a biologist trying to run what should be a simple analysis. So I know basically nothing about computer science and I certainly don't know any C++.
