我正在尝试使用values
在Ubuntu 14.04上为ARM构建OpenCV。我曾尝试安装每个软件包,但它在CMAKE上提供了这些错误。
checking for module 'gstreamer-base-1.0'
package 'gstreamer-base-1.0' not found
checking for module 'gstreamer-video-1.0'
package 'gstreamer-video-1.0' not found
checking for module 'gstreamer-app-1.0'
package 'gstreamer-app-1.0' not found
checking for module 'gstreamer-riff-1.0'
package 'gstreamer-riff-1.0' not found
checking for module 'gstreamer-pbutils-1.0'
package 'gstreamer-pbutils-1.0' not found
Looking for linux/videodev.h
Looking for linux/videodev.h - found
Looking for linux/videodev2.h
Looking for linux/videodev2.h - found
Looking for sys/videoio.h
Looking for sys/videoio.h - not found
checking for module 'libavresample'
package 'libavresample' not found
Looking for libavformat/avformat.h
Looking for libavformat/avformat.h - found
Looking for ffmpeg/avformat.h
Looking for ffmpeg/avformat.h - not found
checking for module 'libgphoto2'
package 'libgphoto2' not found
CMake Warning at 3rdparty/ippicv/downloader.cmake:54 (message):ICV: Local copy of ICV package has invalid MD5 hash:d41d8cd98f00b204e9800998ecf8427e (expected:
8b449a536a2157bcad08a2b9f266828b)
Call Stack (most recent call first):3rdparty/ippicv/downloader.cmake:108 (_icv_downloader)cmake/OpenCVFindIPP.cmake:235 (include)cmake/OpenCVFindLibsPerf.cmake:12 (include)CMakeLists.txt:526 (include)
ICV: Downloading ippicv_linux_20141027.tgz...
CMake Error at 3rdparty/ippicv/downloader.cmake:71 (file):
file DOWNLOAD HASH mismatch for file: [/home/akash/Downloads/opencv-3.0.0/3rdparty/ippicv/downloads/linux-8b449a536a2157bcad08a2b9f266828b/ippicv_linux_20141027.tgz]expected hash: [8b449a536a2157bcad08a2b9f266828b]actual hash: [d41d8cd98f00b204e9800998ecf8427e]
Call Stack (most recent call first):3rdparty/ippicv/downloader.cmake:108 (_icv_downloader)cmake/OpenCVFindIPP.cmake:235 (include)cmake/OpenCVFindLibsPerf.cmake:12 (include)CMakeLists.txt:526 (include)
CMake Error at 3rdparty/ippicv/downloader.cmake:75 (message):ICV: Failed to download ICV package: ippicv_linux_20141027.tgz.Status=7;"Couldn't connect to server"
Call Stack (most recent call first):3rdparty/ippicv/downloader.cmake:108 (_icv_downloader)cmake/OpenCVFindIPP.cmake:235 (include)cmake/OpenCVFindLibsPerf.cmake:12 (include)CMakeLists.txt:526 (include)
Configuring incomplete, errors occurred!
答案 0 :(得分:0)
CMAKE抱怨MD5哈希不匹配。
第3方的CMake警告/ ippicv / downloader.cmake:54(消息):ICV:ICV包的本地副本具有无效的MD5哈希:d41d8cd98f00b204e9800998ecf8427e(预期: 8b449a536a2157bcad08a2b9f266828b)
由于the cmake file中提供的哈希值是正确的,这可能会告诉您下载的包已损坏。
答案 1 :(得分:0)
再试一次:
cmake \
-DOPENCV_ICV_URL="http://downloads.sourceforge.net/project/opencvlibrary/3rdparty/ippicv"
答案 2 :(得分:0)
您可以从以下链接下载ippicv_linux_20141027.tgz。并替换 同 /home/akash/Downloads/opencv-3.0.0/3rdparty/ippicv/downloads/linux-8b449a536a2157bcad08a2b9f266828b/ippicv_linux_20141027.tgz
链接: http://osdn.net/projects/sfnet_opencvlibrary/downloads/3rdparty/ippicv/ippicv_linux_20141027.tgz/