我正在尝试使用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上找到了。还有什么可能导致此错误?