Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Build Errors With OpenCV 3.0 - VS2012 - Win 8.1 - CUDA 7.0

I am trying to build OpenCV 3.0 on the above platform (64 bit) and am running into an error doing what would seem to be the most straight forward approach.

First, I downloaded OpenCV 3.0 and OpenCV_contrib modules.

Second, using CMake 3.0.1, I edited the configuration to specify the OpenCV_contrib location and also turned off building:

BUILD_CUDA_STUBS
BUILD_EXAMPLES
BUILD_LIBPROTBUF_FROM_SOURCES
BUILD_TBB
BUILD_WITH_DYNAMIC_IPP
BUILD_opencv_contrib_world
BUILD_opencv_face
BUILD_opencv_line_descriptor
BUILD_opencv_saliency
BUILD_opencv_world

When I compile, I get ========== Rebuild All: 116 succeeded, 12 failed, 53 skipped ==========

The first project that fails reports:

123>  joint_bilateral_filter.cpp
123>  seeds.cpp
123>  sparse_match_interpolators.cpp
123>C:\opencv_contrib-master\modules\ximgproc\src\sparse_match_interpolators.cpp(173): error C2039: 'isVector' : is not a member of 'cv::_InputArray'
123>          C:\opencv\sources\modules\core\include\opencv2/core/mat.hpp(147) : see declaration of 'cv::_InputArray'
123>          C:\opencv\sources\modules\core\include\opencv2/core/mat.hpp(147) : see declaration of 'cv::_InputArray'
123>  structured_edge_detection.cpp
108>C:\opencv\sources\modules\core\include\opencv2/core/base.hpp(342): warning : function declared with "noreturn" does return
108>  
123>
123>Build FAILED.

Any ideas on how to fix this?

Thanks, James