Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

blockmatching.h:0: Note: No relevant classes found.

Dears,

I'm trying to use OpenCVBM application from https://github.com/DLuensch/StereoVision-ADCensus that use OpenCV but by compiling I am getting:

pb@pb:~/work/StereoVision-ADCensus-master/OpenCVBM/build$ make
[  6%] Generating ui_blockmatchingimage.h
[ 13%] Generating src/moc_OpenCVBMWindow.cxx
[ 20%] Generating src/moc_blockmatchingimage.cxx
[ 26%] Generating src/moc_blockmatching.cxx
/home/r59400/work/StereoVision-ADCensus-master/OpenCVBM/src/blockmatching.h:0: Note: No relevant classes found. No output generated.
[ 33%] Generating src/moc_sgblockmatching.cxx
/home/work/StereoVision-ADCensus-master/OpenCVBM/src/sgblockmatching.h:0: Note: No relevant classes found. No output generated.
[ 40%] Generating ui_OpenCVBMWindow.h
Scanning dependencies of target OpenCVBM
[ 46%] Building CXX object CMakeFiles/OpenCVBM.dir/src/main.cpp.o
[ 53%] Building CXX object CMakeFiles/OpenCVBM.dir/src/OpenCVBMWindow.cpp.o
[ 60%] Building CXX object CMakeFiles/OpenCVBM.dir/src/blockmatchingimage.cpp.o
[ 66%] Building CXX object CMakeFiles/OpenCVBM.dir/src/blockmatching.cpp.o
/home/r59400/work/StereoVision-ADCensus-master/OpenCVBM/src/blockmatching.cpp: In member function ‘cv::Mat BlockMatching::updateBM()’:
/home/r59400/work/StereoVision-ADCensus-master/OpenCVBM/src/blockmatching.cpp:165:13: error: base operand of ‘->’ has non-pointer type ‘cv::StereoBM’
     this->bm->compute(this->imageLeft, this->imageRight, res);
             ^
make[2]: *** [CMakeFiles/OpenCVBM.dir/src/blockmatching.cpp.o] Error 1
make[1]: *** [CMakeFiles/OpenCVBM.dir/all] Error 2
make: *** [all] Error 2

Do you have any advice what's root-cause of this? I would appreciate your help.

Thank you.