Ask Your Question

wealthychef's profile - activity

2015-12-20 00:51:27 -0600 received badge  Famous Question (source)
2015-08-04 08:36:54 -0600 received badge  Notable Question (source)
2015-07-17 08:14:01 -0600 received badge  Student (source)
2015-06-12 02:23:04 -0600 received badge  Popular Question (source)
2014-08-27 14:43:13 -0600 commented question OpenCV build fails because I cannot download ICV on our build farm

I solved this but am not allowed to formally "answer my own question" yet as I am a new user. Here is what I did:

mkdir -p $cvname/3rdparty/ippicv/downloads/linux-d80cb24f3a565113a9d6dc56344142f6
mv ippicv_linux_20140513.tgz $cvname/3rdparty/ippicv/downloads/linux-d80cb24f3a565113a9d6dc56344142f6/
mkdir $cvname-build
pushd $cvname-build

export PATH=$PYTHON_DIR/bin:$CMAKE_DIR/bin:$PATH

$CMAKE_DIR/bin/cmake -D CMAKE_BUILD_TYPE=DEBUG -D CMAKE_INSTALL_PREFIX=$1$prefix -D BUILD_JASPER=ON -D BUILD_JPEG=BOOL -D CMAKE_C_COMPILER=gcc46 -D CMAKE_CXX_COMPILER=g++46 -D CMAKE_VERBOSE_MAKEFILE=ON -D CUDA_NVCC_EXECUTABLE=/opt/cudatoolkit-6.0/bin/nvcc -D PYTHON2_EXECUTABLE=/usr/local/tools/python-2.7.7/bin/python2 -D PYTHON_EXECUTABLE=/usr/local/tools/python-2.7.7/bin/python ../$cvname
2014-08-27 11:56:04 -0600 asked a question OpenCV build fails because I cannot download ICV on our build farm

Hello, I am able to build OpenCV on our cluster, but our build farm is a different environment. On the build farm, I get the following error during cmake:

-- ICV: Downloading ippicv_linux_20140513.tgz...
CMake Error at 3rdparty/ippicv/downloader.cmake:71 (file):
  file DOWNLOAD HASH mismatch

    for file: [/tmp/dpkg-mkdeb.NSafYgjHYT/src/opencv-3.0.0-alpha/3rdparty/ippicv/downloads/linux-d80cb24f3a565113a9d6dc56344142f6/ippicv_linux_20140513.tgz]
      expected hash: [d80cb24f3a565113a9d6dc56344142f6]
        actual hash: [20d82f68c11c137093b960677093fdac]

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:449 (include)

What is ICV and how can I skip or avoid this download part? Could I perhaps download the tgz file and put it somewhere and point cmake to it?

Thanks for any help!