c – 无法使用cygwin运行cmake

我在cygwin下有一个cmake的问题.我安装了cygwin的CMake软件包和正常的CMake软件包(在 Windows中),每次运行CMake配置项目时,它显示以下内容
$CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
Missing variable is:
CMAKE_C_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set,cmake may be not be built correctly.
Missing variable is:
CMAKE_C_COMPILER
CMake Error: Could not find cmake module file:/home/LordEvil/build/CMakeFiles/CMakeCCompiler.cmake
CMake Error: Error required internal CMake variable not set,cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER_ENV_VAR
CMake Error: Error required internal CMake variable not set,cmake may be not be built correctly.
Missing variable is:
CMAKE_CXX_COMPILER
CMake Error: Could not find cmake module file:/home/LordEvil/build/CMakeFiles/CMakeCXXCompiler.cmake
CMake Error: CMAKE_C_COMPILER not set,after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set,after EnableLanguage
-- Configuring incomplete,errors occurred!
CMake Error: The source directory "/home/LordEvil/build/tool." does not exist.
Specify --help for usage,or press the help button on the CMake GUI.

这是什么问题?任何人都可以帮忙解决这个问题吗?

解决方法

发现问题.我需要安装来自cygwin的setup.exe附带的make,gcc和gcc-g软件包.

相关文章

当我们使用GPU进行快速运算时,虽然可以用成熟的深度学习框架...
继上一篇文章学习使用C++存储一个不规则二维数组之后...
本文介绍了一个在C++内部调用Python中封装的函数或者...
本文介绍了一个在C++中保存不定长二维数组的数据结构...
本文主要是站在一个有一定的Python经验的C++新手的角...
本文简单的介绍了C++中的三种基础操作:逐行读取文件...