Error for catkin_make
When running catkin_make from the Hector SLAM ROS with the RPLidar A1.
collect2: error: ld returned 1 exit status
RPLidar_Hector_SLAM/hector_slam/hector_compressed_map_transport/CMakeFiles/map_to_image_node.dir/build.make:167: recipe for target '/home/jonathanrobinson/catkin_ws/devel/lib/hector_compressed_map_transport/map_to_image_node' failed
make[2]: *** [/home/jonathanrobinson/catkin_ws/devel/lib/hector_compressed_map_transport/map_to_image_node] Error 1
CMakeFiles/Makefile2:2767: recipe for target 'RPLidar_Hector_SLAM/hector_slam/hector_compressed_map_transport/CMakeFiles/map_to_image_node.dir/all' failed
make[1]: *** [RPLidar_Hector_SLAM/hector_slam/hector_compressed_map_transport/CMakeFiles/map_to_image_node.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j8 -l8" failed
Asked by Johnr708 on 2019-06-29 11:25:12 UTC
Comments
You're not actually showing the error. Just the summary.
The actual error (a linking error, ie: "unresolved symbol" most likely) should be a few lines up in your console.
Asked by gvdhoorn on 2019-06-30 02:38:14 UTC