Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Not able to build the cvv module in contrib

Hello,

I am trying to install the contrib module for opencv 3.1. But the cmake gui is not able to include the cvv module in the configuration step. The output of configure in cmake 3.5.2 gui is given below.

Processing WORLD modules...
    module opencv_core...
    module opencv_flann...
    module opencv_imgproc...
    module opencv_ml...
    module opencv_photo...
    module opencv_video...
    module opencv_imgcodecs...
    module opencv_shape...
    module opencv_videoio...
    module opencv_highgui...
    module opencv_objdetect...
    module opencv_superres...
    module opencv_features2d...
    module opencv_calib3d...
    module opencv_stitching...
    module opencv_videostab...
Processing WORLD modules... DONE
Processing module opencv_xfeatures2d...
Processing module opencv_ximgproc...
Processing module opencv_xobjdetect...
Processing module opencv_xphoto...
Processing module opencv_aruco...
Processing module opencv_bgsegm...
Processing module opencv_bioinspired...
Processing module opencv_ccalib...
Processing module opencv_dnn...
Build libprotobuf from sources:
    libprotobuf not found into system
    The protocol buffer compiler not found
Processing module opencv_dpm...
Processing module opencv_face...
Processing module opencv_fuzzy...
Processing module opencv_line_descriptor...
Processing module opencv_optflow...
Processing module opencv_plot...
Processing module opencv_reg...
Processing module opencv_rgbd...
Processing module opencv_saliency...
Processing module opencv_stereo...
Processing module opencv_structured_light...
Processing module opencv_surface_matching...
Processing module opencv_text...
Tesseract:   NO
Processing module opencv_ts...
Processing module opencv_datasets...
Processing module opencv_tracking...
Processing module opencv_contrib_world...
Complex module opencv_contrib_world
    + opencv_aruco
    + opencv_bgsegm
    + opencv_bioinspired
    + opencv_ccalib
    - opencv_cvv
    + opencv_datasets
    + opencv_dnn
    + opencv_dpm
    + opencv_face
    + opencv_fuzzy
    - opencv_hdf
    + opencv_line_descriptor
    + opencv_optflow
    + opencv_plot
    + opencv_reg
    + opencv_rgbd
    + opencv_saliency
    - opencv_sfm
    + opencv_stereo
    + opencv_structured_light
    + opencv_surface_matching
    + opencv_text
    + opencv_tracking
    + opencv_xfeatures2d
    + opencv_ximgproc
    + opencv_xobjdetect
    + opencv_xphoto

General configuration for OpenCV 3.1.0 =====================================
  Version control:               unknown

  Platform:
    Host:                        Windows 6.1.7600 AMD64
    CMake:                       3.5.2
    CMake generator:             MinGW Makefiles
    CMake build tool:            C:/Qt/Qt5.6.0/Tools/mingw492_32/bin/mingw32-make.exe
    Configuration:               Release

  C/C++:
    Built as dynamic libs?:      YES
    C++ Compiler:                C:/Qt/Qt5.6.0/Tools/mingw492_32/bin/g++.exe  (ver 4.9.2)
    C++ flags (Release):         -fsigned-char -mstackrealign -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -march=i686 -fomit-frame-pointer -msse -msse2 -mfpmath=sse -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -O2 -DNDEBUG  -DNDEBUG
    C++ flags (Debug):           -fsigned-char -mstackrealign -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -march=i686 -fomit-frame-pointer -msse -msse2 -mfpmath=sse -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -g  -O0 -DDEBUG -D_DEBUG
    C Compiler:                  C:/Qt/Qt5.6.0/Tools/mingw492_32/bin/gcc.exe
    C flags (Release):           -fsigned-char -mstackrealign -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -march=i686 -fomit-frame-pointer -msse -msse2 -mfpmath=sse -ffunction-sections -fvisibility=hidden -O2 -DNDEBUG  -DNDEBUG
    C flags (Debug):             -fsigned-char -mstackrealign -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -march=i686 -fomit-frame-pointer -msse -msse2 -mfpmath=sse -ffunction-sections -fvisibility=hidden -g  -O0 -DDEBUG -D_DEBUG
    Linker flags (Release):      
    Linker flags (Debug):        
    Precompiled headers:         YES
    Extra dependencies:          vfw32 winmm comctl32 gdi32 ole32 setupapi ws2_32
    3rdparty dependencies:       zlib libjpeg libwebp libpng libtiff libjasper IlmImf libprotobuf

  OpenCV modules:
    To be built:                 core flann imgproc ml photo video imgcodecs shape videoio highgui objdetect superres features2d calib3d stitching videostab world xfeatures2d ximgproc xobjdetect xphoto aruco bgsegm bioinspired ccalib dnn dpm face fuzzy line_descriptor optflow plot reg rgbd saliency stereo structured_light surface_matching text ts datasets tracking contrib_world
    Disabled:                    -
    Disabled by dependency:      -
    Unavailable:                 cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev java python2 viz cvv hdf matlab sfm

The cmake says that cvv is unavailable. Other contrib modules are configured correctly. Can someone explain on how to make the cvv module available.

The cmake option OPENCV_EXTRA_MODULES_PATH is set to D:/work/opencv-3.1.0/opencv/opencv_contrib-master/modules. The source path is D:/work/opencv-3.1.0/opencv/sources

Thanks Amal