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

Error while running cmake . && make && make install #121

Open
jashshah999 opened this issue Mar 12, 2021 · 0 comments
Open

Error while running cmake . && make && make install #121

jashshah999 opened this issue Mar 12, 2021 · 0 comments

Comments

@jashshah999
Copy link

When I run the above command after installing all the dependencies, I get the following error. The entire log is as follows:

[ 50%] Building CXX object CMakeFiles/track_targets.dir/track_targets.cpp.o
/home/phanindra/Downloads/vision_landing/src/track_targets.cpp: In function ‘int main(int, char**)’:
/home/phanindra/Downloads/vision_landing/src/track_targets.cpp:407:13: error: ‘struct aruco::MarkerDetector::Params’ has no member named ‘setCornerRefinementMethod’
MParams.setCornerRefinementMethod(aruco::CORNER_SUBPIX);
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/phanindra/Downloads/vision_landing/src/track_targets.cpp:407:46: error: ‘CORNER_SUBPIX’ is not a member of ‘aruco’
MParams.setCornerRefinementMethod(aruco::CORNER_SUBPIX);
^~~~~~~~~~~~~
/home/phanindra/Downloads/vision_landing/src/track_targets.cpp:412:29: error: ‘struct aruco::MarkerDetector::Params’ has no member named ‘ThresHold’; did you mean ‘_ThresHold’?
int ThresHold = MParams.ThresHold;
^~~~~~~~~
_ThresHold
/home/phanindra/Downloads/vision_landing/src/track_targets.cpp:646:45: error: ‘struct aruco::MarkerDetector::Params’ has no member named ‘ThresHold’; did you mean ‘_ThresHold’?
ThresHold = MParams.ThresHold;
^~~~~~~~~
_ThresHold
CMakeFiles/track_targets.dir/build.make:62: recipe for target 'CMakeFiles/track_targets.dir/track_targets.cpp.o' failed
make[2]: *** [CMakeFiles/track_targets.dir/track_targets.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/track_targets.dir/all' failed
make[1]: *** [CMakeFiles/track_targets.dir/all] Error 2
Makefile:129: 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