CMake编译OpenCV4.6.0过程中一直出错:
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_MAKE_PROGRAM项后面的路径设置为Qt安装路径下的路径。例如:D:/Qt/Qt5.12.12/Tools/mingw730_64/bin/mingw32-make.exe (该路径根据你QT的按照路径来定)。文章来源:https://www.toymoban.com/news/detail-554522.html
重新点击Configure,问题解决!文章来源地址https://www.toymoban.com/news/detail-554522.html
到了这里,关于CMake Error: CMake was unable to find a build program corresponding to “MinGW Makefiles“.解决方案(亲测有效)的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!