版权声明:本文为博主原创文章,未经博主允许不得转载。
2015年6月4日,OpenCV官网上面给出了最新版本的OpenCV,即:3.0.0版本,http://opencv.org/
用CMake对其生成VS2010工程过程中,遇到个奇怪的问题:
CMake Error at 3rdparty/ippicv/downloader.cmake:97 (message):
ICV: Failed to unpack ICV package from D:/Program
Files/opencv/sources/3rdparty/ippicv/downloads/windows-b59f865d1ba16e8c84124e19d78eec57/ippicv_windows_20141027.zip
to D:/Program Files/opencv/sources/3rdparty/ippicv/unpack with error 1
Call Stack (most recent call first):
3rdparty/ippicv/downloader.cmake:108 (_icv_downloader)
cmake/OpenCVFindIPP.cmake:212 (include)
cmake/OpenCVFindLibsPerf.cmake:12 (include)
CMakeLists.txt:454 (include)
Configuring incomplete, errors occurred!
解决办法:
(1)手动下载ippicv_windows_20141027.zip
下载网址在这里:
http://osdn.jp/projects/sfnet_opencvlibrary/downloads/3rdparty/ippicv/ippicv_windows_20141027.zip/
(2)将上面的ZIP文件放在OpenCV300的目录下面,
笔者的路径是下面这个:
D:\OpenCV300\opencv\sources\3rdparty\ippicv\downloads\windows-b59f865d1ba16e8c84124e19d78eec57
即:
(3)打开CMake,重新生成工程文件即可。