ratslam catkin_make failed??
Recently I need to run the Openratslam,but my catkin_kin was failed.Could you please give me any help?Thank you very much! My software version is : ubuntu16.04 ROS kinetic Opencv 3.4 The catkin_make fault is as follows:
home/sunt/catkin_ws/devel/lib/libratslam.so:对‘cv::String::deallocate()’未定义的引用
collect2: error: ld returned 1 exit status
ratslam_ros/CMakeFiles/ratslam_pc.dir/build.make:132: recipe for target '/home/sunt/catkin_ws/devel/lib/ratslam_ros/ratslam_pc' failed
make[2]: * [/home/sunt/catkin_ws/devel/lib/ratslam_ros/ratslam_pc] Error 1
CMakeFiles/Makefile2:494: recipe for target 'ratslam_ros/CMakeFiles/ratslam_pc.dir/all' failed
make[1]: * [ratslam_ros/CMakeFiles/ratslam_pc.dir/all] Error 2
make[1]: * 正在等待未完成的任务....
/home/sunt/catkin_ws/devel/lib/libratslam.so:对‘cv::String::deallocate()’未定义的引用
collect2: error: ld returned 1 exit status
ratslam_ros/CMakeFiles/ratslam_em.dir/build.make:132: recipe for target '/home/sunt/catkin_ws/devel/lib/ratslam_ros/ratslam_em' failed
make[2]: * [/home/sunt/catkin_ws/devel/lib/ratslam_ros/ratslam_em] Error 1
CMakeFiles/Makefile2:1588: recipe for target 'ratslam_ros/CMakeFiles/ratslam_em.dir/all' failed
make[1]: * [ratslam_ros/CMakeFiles/ratslam_em.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: * [all] Error 2
Invoking "make -j8 -l8" failed
There seems to be a linker error. Please edit your question and post the relevant
CMakeLists.txt
, or, if available, the link where you got this code from.