can't compile the hector_slam package from github.

asked 2018-10-23 03:33:17 -0500

concepts_lab gravatar image

updated 2018-10-23 03:36:34 -0500

gvdhoorn gravatar image

can't compile hector_slam package from github. this is the message that I get. please help.

lizi@lizi:~/concepts_ws$ source /home/lizi/concepts_ws/
build/             .catkin_workspace  devel/             src/               
lizi@lizi:~/concepts_ws$ source /home/lizi/concepts_ws/devel/setup.bash 
lizi@lizi:~/concepts_ws$ catkin_make
Base path: /home/lizi/concepts_ws
Source space: /home/lizi/concepts_ws/src
Build space: /home/lizi/concepts_ws/build
Devel space: /home/lizi/concepts_ws/devel
Install space: /home/lizi/concepts_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/lizi/concepts_ws/build"
####
####
#### Running command: "make -j4 -l4" in "/home/lizi/concepts_ws/build"
####
[  0%] Built target nav_msgs_generate_messages_cpp
[  0%] Built target _hector_nav_msgs_generate_messages_check_deps_GetSearchPosition
[  0%] Built target _hector_nav_msgs_generate_messages_check_deps_GetRecoveryInfo
[  0%] Built target _hector_nav_msgs_generate_messages_check_deps_GetRobotTrajectory
[  0%] Built target std_msgs_generate_messages_cpp
[  0%] [  0%] Built target _hector_nav_msgs_generate_messages_check_deps_GetDistanceToObstacle
Built target nav_msgs_generate_messages_lisp
[  0%] Built target std_msgs_generate_messages_lisp
[  0%] Built target nav_msgs_generate_messages_py
[  0%] Built target std_msgs_generate_messages_py
[  0%] [  0%] [  0%] Built target roscpp_generate_messages_py
Built target _catkin_empty_exported_target
Built target actionlib_msgs_generate_messages_lisp
[  0%] Built target _hector_nav_msgs_generate_messages_check_deps_GetNormal
[  0%] [  0%] Built target geometry_msgs_generate_messages_cpp
Built target geometry_msgs_generate_messages_py
[  0%] Built target geometry_msgs_generate_messages_lisp
[  0%] Built target actionlib_msgs_generate_messages_py
[  0%] Built target actionlib_msgs_generate_messages_cpp
[  0%] Built target rosgraph_msgs_generate_messages_py
[  0%] [  0%] Built target rosgraph_msgs_generate_messages_lisp
Built target roscpp_generate_messages_lisp
[  0%] Built target rosgraph_msgs_generate_messages_cpp
[  0%] Built target roscpp_generate_messages_cpp

make[2]: *** No rule to make target `/usr/lib/x86_64-linux-gnu/libopencv_videostab.so.2.4.8', needed by `/home/lizi/concepts_ws/devel/lib/hector_compressed_map_transport/map_to_image_node'.  Stop.

make[1]: *** [hector_slam/hector_compressed_map_transport/CMakeFiles/map_to_image_node.dir/all] Error 2

make[1]: *** Waiting for unfinished jobs....

[  2%] Built target imu_attitude_to_tf_node

[  2%] Built target tf2_msgs_generate_messages_py

[  5%] Built target pose_and_orientation_to_imu_node

make: *** [all] Error 2
Invoking "make -j4 -l4" failed
edit retag flag offensive close merge delete

Comments

http://wiki.ros.org/opencv3 I think you met opencv3 migration issue, try the configuration in the link.

FrozenCh gravatar imageFrozenCh ( 2018-10-23 20:42:50 -0500 )edit