Ask Your Question
0

I Couldn't catkin_make the hdl_graph_slam package

asked 2019-11-01 01:39:16 -0600

k's gravatar image

I want to catkin_make hdl_graph_slam package. But I couldn't. there are like bellow message.

how can I solve this problem?

$ catkin_make --pkg hdl_graph_slam Base path: /home/robot/catkin_ws Source space: /home/robot/catkin_ws/src Build space: /home/robot/catkin_ws/build Devel space: /home/robot/catkin_ws/devel Install space: /home/robot/catkin_ws/install

#

Running command: "make cmake_check_build_system" in "/home/robot/catkin_ws/build"

#

#

Running command: "make -j8 -l8" in "/home/robot/catkin_ws/build/hdl_graph_slam-master"

#

[ 0%] Built target std_msgs_generate_messages_cpp [ 0%] Built target std_msgs_generate_messages_eus [ 0%] Built target std_msgs_generate_messages_nodejs [ 0%] Built target std_msgs_generate_messages_py [ 0%] Built target ndt_omp [ 0%] Built target std_msgs_generate_messages_lisp [ 0%] Built target _hdl_graph_slam_generate_messages_check_deps_FloorCoeffs [ 0%] Built target _hdl_graph_slam_generate_messages_check_deps_DumpGraph [ 0%] Built target _hdl_graph_slam_generate_messages_check_deps_SaveMap [ 28%] Built target hdl_graph_slam_generate_messages_nodejs [ 28%] Built target hdl_graph_slam_generate_messages_cpp [ 42%] Built target hdl_graph_slam_generate_messages_py make[2]: * No rule to make target '/usr/lib/libOpenNI2.so', needed by '/home/robot/catkin_ws/devel/lib/libprefiltering_nodelet.so'. Stop. CMakeFiles/Makefile2:10095: recipe for target 'hdl_graph_slam-master/CMakeFiles/prefiltering_nodelet.dir/all' failed make[1]: [hdl_graph_slam-master/CMakeFiles/prefiltering_nodelet.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... [ 42%] Built target hdl_graph_slam_generate_messages_lisp make[2]: No rule to make target '/usr/lib/libOpenNI2.so', needed by '/home/robot/catkin_ws/devel/lib/libscan_matching_odometry_nodelet.so'. Stop. CMakeFiles/Makefile2:10682: recipe for target 'hdl_graph_slam-master/CMakeFiles/scan_matching_odometry_nodelet.dir/all' failed make[1]: [hdl_graph_slam-master/CMakeFiles/scan_matching_odometry_nodelet.dir/all] Error 2 [ 57%] Built target hdl_graph_slam_generate_messages_eus Makefile:138: recipe for target 'all' failed make: * [all] Error 2

Invoking "make -j8 -l8" failed

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-11-01 15:40:33 -0600

FailFTW gravatar image

This here

No rule to make target '/usr/lib/libOpenNI2.so'

I'd make sure you have libopenni2-dev installed. Try that and let me know if that works.

sudo apt install libopenni2-dev
edit flag offensive delete link more

Comments

I'm sorry, I'm late. I could catkin_make if I did "sudo apt install libopenni2-dev". Thank you for your help.

k's gravatar imagek's ( 2019-11-06 07:04:41 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2019-11-01 01:39:16 -0600

Seen: 15 times

Last updated: Nov 01