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即可。

Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐