尽管已安装 CMake 并将其添加到路径中,但 CLion 无法检测到 CMake
CLion can't detect CMake though CMake is installed and added to the Path
这里已经有 的答案,但我的问题不同。
我在 Windows 8 64 位上安装了 CLion 2017.3.1。我已经在我的电脑上安装了 Cygwin 64 位和 Cmake 3.9.6。在 CLion 的配置 window 中,它无法检测到 Cmake。我在路径中添加了 Cmake 但 CLion 无法检测到它。错误如下图
点击 测试 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.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
Error code: 1
安装 CMake 并将其添加到路径后为什么会显示这些错误?
这些错误是什么意思?
以及如何修复这些错误?
请帮忙
谢谢
标题为 Make
的输入字段用于 make
程序(处理 Makefile),不适用于 cmake
程序。如果您还没有 make
安装,请安装它。
另请参阅此问题:CMAKE_MAKE_PROGRAM not found,它描述了您遇到的第一个错误的含义。
这里已经有
我在 Windows 8 64 位上安装了 CLion 2017.3.1。我已经在我的电脑上安装了 Cygwin 64 位和 Cmake 3.9.6。在 CLion 的配置 window 中,它无法检测到 Cmake。我在路径中添加了 Cmake 但 CLion 无法检测到它。错误如下图
点击 测试 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.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
Error code: 1
安装 CMake 并将其添加到路径后为什么会显示这些错误? 这些错误是什么意思? 以及如何修复这些错误?
请帮忙
谢谢
标题为 Make
的输入字段用于 make
程序(处理 Makefile),不适用于 cmake
程序。如果您还没有 make
安装,请安装它。
另请参阅此问题:CMAKE_MAKE_PROGRAM not found,它描述了您遇到的第一个错误的含义。