Error for catkin_make

asked 2019-06-29 11:25:12 -0600

Johnr708 gravatar image

updated 2019-07-01 10:46:14 -0600

allenh1 gravatar image

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
edit retag flag offensive close merge delete



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.

gvdhoorn gravatar image gvdhoorn  ( 2019-06-30 02:38:14 -0600 )edit