Closed geekfuns closed 2 years ago
您好,我在编译时出现如下错误,请问是什么导致的呢? [ 69%] Linking CXX executable ../Examples/TestDebug/testOpt ../lib/libORB_SLAM2.so:对‘cv::line_descriptor::BinaryDescriptor::compute(cv::Mat const&, std::vector<cv::line_descriptor::KeyLine, std::allocator >&, cv::Mat&, bool) const’未定义的引用
相同环境下编译ORB-slam2的代码没有问题
已经解决,需要安装opencv_contrib
您好,我在编译时出现如下错误,请问是什么导致的呢? [ 69%] Linking CXX executable ../Examples/TestDebug/testOpt ../lib/libORB_SLAM2.so:对‘cv::line_descriptor::BinaryDescriptor::compute(cv::Mat const&, std::vector<cv::line_descriptor::KeyLine, std::allocator >&, cv::Mat&, bool) const’未定义的引用
相同环境下编译ORB-slam2的代码没有问题