编译opencv错误
1.####CMake Warning at cmake/OpenCVDownload.cmake:202 (message):
FFMPEG: Download failed: 7;“Couldn’t connect to server”
For details please refer to the download log file:
F:/softword/opencv/build/x64/bianyi/CMakeDownloadLog.txt
Call Stack (most recent call first):
3rdparty/ffmpeg/ffmpeg.cmake:20 (ocv_download)
modules/videoio/cmake/detect_ffmpeg.cmake:14 (download_win_ffmpeg)
modules/videoio/cmake/init.cmake:3 (include)
modules/videoio/cmake/init.cmake:22 (add_backend)
cmake/OpenCVModule.cmake:312 (include)
解决方法:将相关的ffmpeg文件放到F:\softword\opencv\3rdparty\ffmpeg中,其中F:\softword\opencv是在cmake中建立的文件,如果不能下载相关的ffmpeg,可以在https://download.csdn.net/download/weixin_43986898/12930531下载
2.在CMD中输入mingw32-cmake,出现’mingw32-cmake’ 不是内部或外部命令,也不是可运行的程序或批处理文件。
解决方法:输入mingw32-make
3.mingw32-make[2 [3rdp