gaoxiang12 / ORBSLAM2_with_pointcloud_map

830 stars 346 forks source link

some errors with modified SLAM about DBoW2 #14

Closed lily0101 closed 6 years ago

lily0101 commented 6 years ago

when I make the SLAM modifed, I met some errors listed in below: [ 74%] Linking CXX executable ../Examples/Monocular/mono_kitti ../lib/libORB_SLAM2.so:对‘DBoW2::FORB::fromString(cv::Mat&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)’未定义的引用 ../lib/libORB_SLAM2.so:对‘DBoW2::FORB::toString[abi:cxx11](cv::Mat const&)’未定义的引用 collect2: error: ld returned 1 exit status CMakeFiles/mono_kitti.dir/build.make:361: recipe for target '../Examples/Monocular/mono_kitti' failed make[2]: [../Examples/Monocular/mono_kitti] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/mono_kitti.dir/all' failed make[1]: [CMakeFiles/mono_kitti.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2

so,what should I do to solve it? thank you so much!

lily0101 commented 6 years ago

I knew that. I forgot to build the DBOW