You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Peter73421. Were you ever able to fix this? I am able to build everything except the OpenCVBM. I am thinking it might be related to having OPENCV2.4 and OpenCV3.2 installed. But I am not sure. I get the error
/workspace/stereo/ADCensus/OpenCVBM/build$ make
[ 6%] Generating src/moc_sgblockmatching.cxx
/home/kevin/workspace/stereo/ADCensus/OpenCVBM/src/sgblockmatching.h:0: Note: No relevant classes found. No output generated.
Scanning dependencies of target OpenCVBM
[ 13%] Building CXX object CMakeFiles/OpenCVBM.dir/src/main.cpp.o
[ 20%] Building CXX object CMakeFiles/OpenCVBM.dir/src/OpenCVBMWindow.cpp.o
[ 26%] Building CXX object CMakeFiles/OpenCVBM.dir/src/sgblockmatching.cpp.o
/home/kevin/workspace/stereo/ADCensus/OpenCVBM/src/sgblockmatching.cpp: In member function ‘cv::Mat SGBlockMatching::updateSGBM()’:
/home/kevin/workspace/stereo/ADCensus/OpenCVBM/src/sgblockmatching.cpp:151:15: error: base operand of ‘->’ has non-pointer type ‘cv::StereoSGBM’
this->sgbm->compute(this->imageLeft, this->imageRight, res);
^
CMakeFiles/OpenCVBM.dir/build.make:180: recipe for target 'CMakeFiles/OpenCVBM.dir/src/sgblockmatching.cpp.o' failed
make[2]: *** [CMakeFiles/OpenCVBM.dir/src/sgblockmatching.cpp.o] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/OpenCVBM.dir/all' failed
make[1]: *** [CMakeFiles/OpenCVBM.dir/all] Error 2
Makefile:75: recipe for target 'all' failed
make: *** [all] Error 2
pb@pb:~/work/StereoVision-ADCensus/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/OpenCVBM/src/blockmatching.h:0: Note: No relevant classes found. No output generated.
[ 33%] Generating src/moc_sgblockmatching.cxx
/home/r59400/work/StereoVision-ADCensus/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
[ 73%] Building CXX object CMakeFiles/OpenCVBM.dir/src/sgblockmatching.cpp.o
/home/r59400/work/StereoVision-ADCensus/OpenCVBM/src/sgblockmatching.cpp: In member function ‘cv::Mat SGBlockMatching::updateSGBM()’:
/home/r59400/work/StereoVision-ADCensus/OpenCVBM/src/sgblockmatching.cpp:151:15: error: base operand of ‘->’ has non-pointer type ‘cv::StereoSGBM’
this->sgbm->compute(this->imageLeft, this->imageRight, res);
^
make[2]: *** [CMakeFiles/OpenCVBM.dir/src/sgblockmatching.cpp.o] Error 1
make[1]: *** [CMakeFiles/OpenCVBM.dir/all] Error 2
make: *** [all] Error 2
The text was updated successfully, but these errors were encountered: