Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sgblockmatching.cpp #6

Open
ghost opened this issue Aug 27, 2016 · 1 comment
Open

sgblockmatching.cpp #6

ghost opened this issue Aug 27, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 27, 2016

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

@ghost ghost changed the title blockmatching.cpp sgblockmatching.cpp Aug 27, 2016
@johnkw2275
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant