For Python 3.4.3, Ubuntu 14.04, CUDA 8 and latest version of OpenCV download from opencv website and the following command:
(cv2) mona@pascal:~/computer_vision/opencv-3.2.0/build$ cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local ..
I get the following error. Please suggest fixes.
-- checking for module 'libgphoto2'
-- package 'libgphoto2' not found
-- ICV: Downloading ippicv_linux_20151201.tgz...
-- ICV: Unpacking ippicv_linux_20151201.tgz to /home/mona/computer_vision/opencv-3.2.0/build/3rdparty/ippicv...
-- ICV: Package successfully downloaded
-- found IPP (ICV version): 9.0.1 [9.0.1]
-- at: /home/mona/computer_vision/opencv-3.2.0/build/3rdparty/ippicv/ippicv_lnx
-- CUDA detected: 8.0
-- CUDA NVCC target flags: -gencode;arch=compute_20,code=sm_20;-gencode;arch=compute_30,code=sm_30;-gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-D_FORCE_INLINES
CMake Error at cmake/OpenCVFindMKL.cmake:32 (file):
file STRINGS file "/opt/intel/mkl/include/mkl_version.h" cannot be read.
Call Stack (most recent call first):
cmake/OpenCVFindMKL.cmake:72 (get_mkl_version)
cmake/OpenCVFindLAPACK.cmake:10 (include)
CMakeLists.txt:559 (include)<!--
CMake Error at cmake/OpenCVFindMKL.cmake:90 (if):
if given arguments:
"VERSION_GREATER" "11.3.0" "OR" "VERSION_EQUAL" "11.3.0"
Unknown arguments specified
Call Stack (most recent call first):
cmake/OpenCVFindLAPACK.cmake:10 (include)
CMakeLists.txt:559 (include)
-- Configuring incomplete, errors occurred!
Here's what exits at cmake/OpenCVFindMKL.cmake file:
http://pastebin.com/Yxq8GQTZ
Cmake log http://pastebin.com/JQSi2me3