We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
你好,我在Ubuntu18.04下手动下载编译opencv3.2.0并且把CMakeLists.txt文件的opencv都指定了路径,最终编译到96%报错。
/home/july/Project/Muti_KF_vio/orb_slam2_cg-ubuntu1804/orbslam2/lib/liborbslam2_core.so: undefined reference to `cv::line_descriptor::BinaryDescriptor::createBinaryDescriptor()' /home/july/Project/Muti_KF_vio/orb_slam2_cg-ubuntu1804/orbslam2/lib/liborbslam2_core.so: undefined reference to `cv::line_descriptor::BinaryDescriptorMatcher::match(cv::Mat const&, cv::Mat const&, std::vector<cv::DMatch, std::allocator<cv::DMatch> >&, cv::Mat const&) const' /home/july/Project/Muti_KF_vio/orb_slam2_cg-ubuntu1804/orbslam2/lib/liborbslam2_core.so: undefined reference to `cv::line_descriptor::BinaryDescriptorMatcher::createBinaryDescriptorMatcher()' collect2: error: ld returned 1 exit status orbslam2_ros/CMakeFiles/MonoLine.dir/build.make:181: recipe for target '/home/july/Project/Muti_KF_vio/orb_slam2_cg- ubuntu1804/platforms/ros_wrapper/devel/lib/orbslam2_ros/MonoLine' failed make[2]: *** [/home/july/Project/Muti_KF_vio/orb_slam2_cg-ubuntu1804/platforms/ros_wrapper/devel/lib/orbslam2_ros/MonoLine] Error 1 CMakeFiles/Makefile2:1057: recipe for target 'orbslam2_ros/CMakeFiles/MonoLine.dir/all' failed
The text was updated successfully, but these errors were encountered:
您好,我通过安装opencv对应的contrib模块解决了问题,我发现cv::line_descriptor是属于contrib中的模块。
Sorry, something went wrong.
@July-creater 在Ubuntu18.04,我是通过 sudo apt install libopencv-dev 安装的opencv3.2
sudo apt install libopencv-dev
好的谢谢,我在虚拟机上试了一下,也成功了!!非常感谢!
No branches or pull requests
你好,我在Ubuntu18.04下手动下载编译opencv3.2.0并且把CMakeLists.txt文件的opencv都指定了路径,最终编译到96%报错。
The text was updated successfully, but these errors were encountered: