编译opencv3.4.10,使用cmake生成工程文件时,ffmpeg和ippicv下载失败

直接下载以下文件(本人下载并整理好的 ),直接放到opencv3.2.10根目录下的.cache文件夹(如果你的目录下已经 

存在.cache文件夹,直接合并并覆盖):

编译opencv3.4.10,使用cmake生成工程文件时,ffmpeg和ippicv下载失败_第1张图片

https://download.csdn.net/download/iMatt/12575980

 

过检查CMakeDownloadLog.txt文件,手动下载

1、下载

ffmpeg64.dll下载

https://raw.githubusercontent.com/opencv/opencv_3rdparty/e81ccda615672833b578c6cefdb859ad69c560ba/ffmpeg/opencv_ffmpeg_64.dll

ffmpeg.dll (32位)下载

https://raw.githubusercontent.com/opencv/opencv_3rdparty/e81ccda615672833b578c6cefdb859ad69c560ba/ffmpeg/opencv_ffmpeg.dll

ffmpeg的cmake下载

https://raw.githubusercontent.com/opencv/opencv_3rdparty/e81ccda615672833b578c6cefdb859ad69c560ba/ffmpeg/ffmpeg_version.cmake

ippicv下载

https://raw.githubusercontent.com/opencv/opencv_3rdparty/a56b6ac6f030c312b2dce17430eef13aed9af274/ippicv/ippicv_2020_win_ia32_20191018_general.zip

2、复制

下载完成之后放到opencv3.4.10的解压的$(OPENCV_SOURCE_DIR)/.cache下相应的文件夹中,比如我的目录:

E:\OpenSource\opencv\opencv-3.4.10\.cache\ffmpeg

E:\OpenSource\opencv\opencv-3.4.10\.cache\ippicv

3、重命名

上述下载的opencv相关的3个个文件重命名为

d87ce032289c3f811d02f0c3d8dbe366-opencv_ffmpeg_64.dll

301ae2000e25f800ab8e0065f277ad28-opencv_ffmpeg.dll

3b90f67f4b429e77d3da36698cef700c-ffmpeg_version.cmake

ippicv相关的文

cd39bdf0c2e1cac9a61101dad7a2413e-ippicv_2020_win_ia32_20191018_general.zip

 

 

 

 

 

 

 

 

 

你可能感兴趣的:(OpenCV,c++)