c++ - CMakeLists.txt :30 (project): No CMAKE_C_COMPILER could be found 处的 CMake 错误

标签 c++ visual-studio gcc cmake visual-studio-2015

我正在尝试使用 CMake 制作一个 Visual Studio 解决方案来编译最新版本的 aseprite,而 CMake 一直给我:

No CMAKE_C_COMPILER could be found.
No CMAKE_CXX_COMPILER could be found.

我已经下载了 GCC,我正在使用 Visual Studio 2015 .

我正在学习本教程:

https://github.com/aseprite/aseprite/blob/master/INSTALL.md

最佳答案

对于 Ubuntu,请安装以下东西:

sudo apt-get update && sudo apt-get install build-essential

关于c++ - CMakeLists.txt :30 (project): No CMAKE_C_COMPILER could be found 处的 CMake 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52529555/

相关文章:

c++ - C++ 中的标记和枚举分派(dispatch)有什么区别?

c# - .Net 6 FunctionApp : No job functions found. 尝试将您的作业类和方法公开

linux - gcc架构问题

c++ - 如何启用 SSSE3 内在函数但禁用它们在编译器优化中的使用

linux - 在旧版本的 gcc 上使用 `-Wno-implicit-fallthrough`

c++ - 根据 C++ 标准,显式调用构造函数和析构函数是否安全?

c++ - reheapify的STL实现

c++ - 如何在网络 Ts 中超时运行轮询

visual-studio - Visual Studio(或 resharper)变量和方法着色

c# - 有没有办法以编程方式在 android 中创建布局的副本?