for file: [/home/king/slam/pkg/opencv-3.2.0/3rdparty/ippicv/downloads/linux-808b791a6eac9ed78d32a7666804320e/ippicv_linux_20151201.tgz] expected hash: [808b791a6eac9ed78d32a7666804320e] actual hash: [d41d8cd98f00b204e9800998ecf8427e] status: [7;"Couldn't connect to server"]
for file: [/home/king/slam/pkg/opencv-3.2.0/3rdparty/ippicv/downloads/linux-808b791a6eac9ed78d32a7666804320e/ippicv_linux_20151201.tgz] expected hash: [808b791a6eac9ed78d32a7666804320e] actual hash: [d41d8cd98f00b204e9800998ecf8427e] status: [7;"Couldn't connect to server"]
CMake Error at 3rdparty/ippicv/downloader.cmake:77 (message): ICV: Failed to download ICV package: ippicv_linux_20151201.tgz. Status=7;"Couldn't connect to server" Call Stack (most recent call first): 3rdparty/ippicv/downloader.cmake:110 (_icv_downloader) cmake/OpenCVFindIPP.cmake:243 (include) cmake/OpenCVFindLibsPerf.cmake:37 (include) CMakeLists.txt:558 (include)
-- Configuring incomplete, errors occurred! See also "/home/king/slam/pkg/opencv-3.2.0/build/CMakeFiles/CMakeOutput.log". See also "/home/king/slam/pkg/opencv-3.2.0/build/CMakeFiles/CMakeError.log".
$ ls -l /home/king/slam/pkg/opencv-3.2.0/3rdparty/ippicv/downloads/linux-808b791a6eac9ed78d32a7666804320e/ total 35680 -rw-rw-r-- 1 king king 36533175 Feb 28 17:37 ippicv_linux_20151201.tgz
-- Configuring done -- Generating done -- Build files have been written to: /home/king/slam/pkg/opencv-3.2.0/build
后续的编译也没有问题:
1 2 3 4 5
[100%] Linking CXX executable ../../bin/opencv_test_calib3d [100%] Built target opencv_test_calib3d [100%] Linking CXX executable ../../bin/opencv_perf_stitching [100%] Built target opencv_perf_stitching king@ubuntu:~/slam/pkg/opencv-3.2.0/build$
执行sudo make install,成功安装OpenCV 3.2.0,以下是make install最终的输出
1 2 3 4
-- Installing: /usr/local/bin/opencv_visualisation -- Set runtime path of "/usr/local/bin/opencv_visualisation" to "/usr/local/lib" -- Installing: /usr/local/bin/opencv_version -- Set runtime path of "/usr/local/bin/opencv_version" to "/usr/local/lib"