我正在尝试重新构建OpenCV 3.2.0。上周工作正常,但现在我无法创建目标。我正在使用的命令是:
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_CUDA=ON -D ENABLE_FAST_MATH=1 -D CUDA_FAST_MATH=1 -D WITH_CUBLAS=1 -D OPENCV_EXTRA_MODULES_PATH=../../opencv_contrib-3.2.0/modules ..
错误:
CMake Error at cmake/OpenCVFindIPP.cmake:243 (include):
include could not find load file:
/home/nettef/opencv-3.2.0/3rdparty/ippicv/downloader.cmake
Call Stack (most recent call first):
cmake/OpenCVFindLibsPerf.cmake:37 (include)
CMakeLists.txt:558 (include)
答案 0 :(得分:0)
在目录/home/nettef/opencv-3.2.0/3rdparty/ippicv/
中存在一个ippicv版本,因此我刚刚创建了一个名为downloader.cmake
的空文件,错误消失了。