Cmake软件编译opencv报错,CMake Warning at cmake/OpenCVDownload.cmake:193 (message): FFMPEG: Download...

当执行如下操作时:
Cmake软件编译opencv报错,CMake Warning at cmake/OpenCVDownload.cmake:193 (message): FFMPEG: Download..._第1张图片
出现下面报错,
Cmake软件编译opencv报错,CMake Warning at cmake/OpenCVDownload.cmake:193 (message): FFMPEG: Download..._第2张图片
在链接ipaddress.com查询raw.githubusercontent.com地址,然后将ip添加至C:\Windows\System32\drivers\etc\hosts中:
Cmake软件编译opencv报错,CMake Warning at cmake/OpenCVDownload.cmake:193 (message): FFMPEG: Download..._第3张图片
保存后,重新在cmake软件中点击“Configure”等待即可。

你可能感兴趣的:(Qt,opencv,cmake)