Hi, I'm trying to build opencv_contrib with my opencv 3.0.0-alpha by following this Read me , and unfortunately I had also this ugly message "Configuring incomplete, errors occurred!". I need the "xfeatured" module for my project and I don't know how to fix this problem . I just copy the errors shown in my console maybe you can help me to get out of it :
CMake Error: Could not open file for write in copy operation /home/asma/opencv/opencv-3.0.0-alpha/CMakeFiles/CMakeTmp/CheckIncludeFile.c.tmp CMake Error: : System Error: Permission denied CMake Error at /usr/share/cmake-2.8/Modules/CheckIncludeFile.cmake:40 (configure_file): configure_file Problem configuring file Call Stack (most recent call first): cmake/OpenCVFindLibsVideo.cmake:158 (CHECK_INCLUDE_FILE) CMakeLists.txt:448 (include)
-- Looking for linux/videodev.h CMake Error at /usr/share/cmake-2.8/Modules/CheckIncludeFile.cmake:48 (try_compile): Failed to open /home/asma/opencv/opencv-3.0.0-alpha/CMakeFiles/CMakeTmp/CMakeLists.txt
many other errors like the previous one , it tries to open some .h but it fails to o it .
-- Could NOT find Matlab (missing: MATLAB_MEX_SCRIPT MATLAB_INCLUDE_DIRS MATLAB_ROOT_DIR MATLAB_LIBRARIES MATLAB_LIBRARY_DIRS MATLAB_MEXEXT MATLAB_ARCH MATLAB_BIN) -- VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file
Finally , it's written that : CMake Warning at CMakeLists.txt:1091 (message): The source directory is the same as binary directory. "make clean" may damage the source tree -- Configuring incomplete, errors occurred! See also "/home/asma/opencv/opencv-3.0.0-alpha/CMakeFiles/CMakeOutput.log". See also "/home/asma/opencv/opencv-3.0.0-alpha/CMakeFiles/CMakeError.log"
Can any one help me please ?