小编Sta*_*uit的帖子

CMake错误:CMake无法找到与“ MinGW Makefiles”相对应的生成程序

我正在尝试使用cmake为c ++构建Box2D库。当我运行cmake gui时,出现错误:

CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMake was unable to find a build program corresponding to "MinGW 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!
Run Code Online (Sandbox Code Playgroud)

像这些人一样,大多数问题都通过说“将MinGw / bin添加到PATH”来回答,但我已经在PATH上找到了。还有什么可能导致此错误?

c++ cmake box2d

5
推荐指数
1
解决办法
2万
查看次数

标签 统计

box2d ×1

c++ ×1

cmake ×1