cmake 中 Error in configuration process, project files may be invalid
·
qt配置opencv时,用到cmake,弹出窗口“Error in configuration process, project files may be invalid”错误,主窗口显示“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.”如下图:
上述错误源自没有找到正确的make工具,需要设置。
解决如下图:
将CMAKE_MAKE_PROGRAM的值改为qt的mingw32-make.exe,configure即可。
更多推荐
已为社区贡献5条内容
所有评论(0)