老卫带你学---CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". CM

CMake编译OpenCV3.1.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安装路径下的路径如下所示:MinGW/bin/mingw32-make.exe,重新点击Configure,问题解决!

你可能感兴趣的:(图像识别)