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

Linking CXX executable ../Examples/RGB-D/rgbd_tum ../lib/libORB_SLAM2.so: undefined reference to `cv::line_descriptor::BinaryDescriptor::compute #2

Closed
tshooting opened this issue Oct 16, 2022 · 1 comment

Comments

@tshooting
Copy link

Hello dear author, I am using opencv3.2.0, but the following error occurs, do you know how to solve it?
[100%] Linking CXX executable ../Examples/RGB-D/rgbd_tum ../lib/libORB_SLAM2.so: undefined reference to cv::line_descriptor::BinaryDescriptor::compute(cv::Mat const&, std::vector<cv::line_descriptor::KeyLine, std::allocatorcv::line_descriptor::KeyLine >&, cv::Mat&, bool) const'
../lib/libORB_SLAM2.so: undefined reference to cv::line_descriptor::BinaryDescriptor::createBinaryDescriptor()' ../lib/libORB_SLAM2.so: undefined reference to cv::line_descriptor::LSDDetector::detect(cv::Mat const&, std::vector<cv::line_descriptor::KeyLine, std::allocatorcv::line_descriptor::KeyLine >&, int, int, cv::Mat const&)'
../lib/libORB_SLAM2.so: undefined reference to cv::line_descriptor::LSDDetector::createLSDDetector()' collect2: error: ld returned 1 exit status CMakeFiles/rgbd_tum.dir/build.make:178: recipe for target '../Examples/RGB-D/rgbd_tum' failed make[2]: *** [../Examples/RGB-D/rgbd_tum] Error 1 CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/rgbd_tum.dir/all' failed

@whwh747
Copy link

whwh747 commented May 20, 2023

you need install opencv_contrib with opencv

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

3 participants