Ask Your Question
0

Problem extracting ippicv_.zip

asked 2015-10-30 09:10:12 -0600

cvanbrederode gravatar image

I'm attempting to build OpenCV from source, using Visual Studio 2015 and Windows 7. But I've run into a problem. CMake is unable to extract 3rdparty/ippicv. The error is as follows:

ICV: Removing previous unpacked package: E:/opencv/source/3rdparty/ippicv/unpack
ICV: Unpacking ippicv_windows_20141027.zip to E:/opencv/source/3rdparty/ippicv/unpack...
CMake Error: Problem with archive_write_finish_entry(): Can't restore time


CMake Error: Problem extracting tar: E:/opencv/source/3rdparty/ippicv/downloads/windows-b59f865d1ba16e8c84124e19d78eec57/ippicv_windows_20141027.zip


CMake Error at 3rdparty/ippicv/downloader.cmake:99 (message):
  ICV: Failed to unpack ICV package from
  E:/opencv/source/3rdparty/ippicv/downloads/windows-b59f865d1ba16e8c84124e19d78eec57/ippicv_windows_20141027.zip
  to E:/opencv/source/3rdparty/ippicv/unpack with error 1
Call Stack (most recent call first):
  3rdparty/ippicv/downloader.cmake:110 (_icv_downloader)
  cmake/OpenCVFindIPP.cmake:235 (include)
  cmake/OpenCVFindLibsPerf.cmake:12 (include)
  CMakeLists.txt:530 (include)


Configuring incomplete, errors occurred!
See also "E:/opencv/builds/CMakeFiles/CMakeOutput.log".
See also "E:/opencv/builds/CMakeFiles/CMakeError.log".

I am using source downloaded directly from the web yesterday. I have attempted this both on this machine (Windows 7 with Visual Studio 2015) and another (Windows 8.1 with Visual Studio 2010). Manually extracting the zip file to /unpack doesn't work either; CMake deletes the previous unpacked package.

edit retag flag offensive close merge delete

Comments

you can download manually here

LBerger gravatar imageLBerger ( 2015-10-30 14:16:59 -0600 )edit

The manually downloaded file also fails in the same way; the file that was autodownloaded is byte-4-byte identical.

In addition, I manually extracted the contents of the zip and created a new zip from scratch. This resulted in a different hash, so I adjusted downloader.cmake to reference the new hash. It also failed again, with the same error.

One file gets extracted, ipp.h in include, before it quits. I'm ready to modifiy downloader.cmake so that it accepts an already extracted folder (that hasn't been validated).

cvanbrederode gravatar imagecvanbrederode ( 2015-11-02 09:30:09 -0600 )edit

3 answers

Sort by ยป oldest newest most voted
0

answered 2019-09-19 03:47:30 -0600

You can get it to work by using another tar extractor, like e.g. 7zip, instead of cmake -E tar:

7z x

does the same thing (for the purpose of this) as

cmake -E tar -xjf

Then change line 236 of OpenCVDownload.cmake to:

execute_process(COMMAND 7z x "${CACHE_CANDIDATE}"       .... etc.
edit flag offensive delete link more
0

answered 2017-11-17 11:35:26 -0600

Yyyye gravatar image

Because your e drive is fat32 move your source code to NTFS drive then it work!

I found answer in here

edit flag offensive delete link more
0

answered 2016-08-15 22:58:31 -0600

ferdna gravatar image

you can also do -D WITH_IPP=OFF... it builds... seems to work... =|

edit flag offensive delete link more

Comments

found solution: you have to run as root.

ferdna gravatar imageferdna ( 2016-08-15 23:31:11 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-10-30 09:10:12 -0600

Seen: 3,526 times

Last updated: Nov 17 '17