python - Can't build opencv 3.2.0 with opencv_contrib 3.2.0 -
i'm trying build opencv , opencv_contrib module i'm getting following while building cmake-gui :
detected version of gnu gcc: 54 (504) found zlib: /usr/lib/x86_64-linux-gnu/libz.so (found suitable version "1.2.8", minimum required "1.2.3") found zlib: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8") checking module 'gtk+-3.0' no package 'gtk+-3.0' found checking module 'gstreamer-base-1.0' no package 'gstreamer-base-1.0' found checking module 'gstreamer-video-1.0' no package 'gstreamer-video-1.0' found checking module 'gstreamer-app-1.0' no package 'gstreamer-app-1.0' found checking module 'gstreamer-riff-1.0' no package 'gstreamer-riff-1.0' found checking module 'gstreamer-pbutils-1.0' no package 'gstreamer-pbutils-1.0' found checking module 'gstreamer-base-0.10' no package 'gstreamer-base-0.10' found checking module 'gstreamer-video-0.10' no package 'gstreamer-video-0.10' found checking module 'gstreamer-app-0.10' no package 'gstreamer-app-0.10' found checking module 'gstreamer-riff-0.10' no package 'gstreamer-riff-0.10' found checking module 'gstreamer-pbutils-0.10' no package 'gstreamer-pbutils-0.10' found looking linux/videodev.h looking linux/videodev.h - not found looking linux/videodev2.h looking linux/videodev2.h - found looking sys/videoio.h looking sys/videoio.h - not found checking module 'libavresample' no package 'libavresample' found checking module 'libgphoto2' no package 'libgphoto2' found found ipp (icv version): 9.0.1 [9.0.1] at: /opencv-master/build/3rdparty/ippicv/ippicv_lnx not find openblas lib. turning openblas_found off not find atlas (missing: atlas_clapack_include_dir) library blas api found. library lapack api found. not find doxygen (missing: doxygen_executable) not find jni (missing: java_awt_library java_jvm_library java_include_path java_include_path2 java_awt_include_path) 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 not found. please set -dvtk_dir in cmake vtk build directory, or vtk install subdirectory vtkconfig.cmake file caffe: no protobuf: no glog: no protocol buffer compiler found (/usr/bin/protoc) cmake error @ /opencv_contrib-master/modules/dnn/cmake/opencvfindlibprotobuf.cmake:17 (protobuf_generate_cpp): unknown cmake command "protobuf_generate_cpp". call stack (most recent call first): /opencv_contrib-master/modules/dnn/cmakelists.txt:5 (include) configuring incomplete, errors occurred! see "/opencv-master/build/cmakefiles/cmakeoutput.log". see "/opencv-master/build/cmakefiles/cmakeerror.log".
error box : error in configuration process, project files may invalid
please it.
you must have matching versions of opencv_contrib , opencv itself.
another fellow had similar issue caused same thing. can see answer on stack overflow here
Comments
Post a Comment