error in adding extra module in opencv
hi guys
i am trying to add opencv_contrib module to my existing opencv and i am getting following error, please help
-- Looking for sys/videoio.h - not found
-- Checking for module 'libavresample'
-- No package 'libavresample' found
-- Found apache ant 1.9.6: /usr/bin/ant
-- Caffe: NO
-- Protobuf: YES
-- Glog: NO
CMake Error at /home/zubair/opencv_contrib/modules/dnn/cmake/OpenCVFindLibProtobuf.cmake:32 (ocv_download):
Unknown CMake command "ocv_download".
Call Stack (most recent call first):
/home/zubair/opencv_contrib/modules/dnn/CMakeLists.txt:5 (include)
-- Configuring incomplete, errors occurred!
See also "/home/zubair/opencv/CMakeFiles/CMakeOutput.log".
See also "/home/zubair/opencv/CMakeFiles/CMakeError.log".
these are last few lines of error ..
Hi! ...Could you show what it says on the file: "CMakeOutput.log"? It seems like you have some missing dependencies. Try installing libavresample first : "apt-get install libavresample-dev" and try it again.