jhu-lcsr / handeye_calib_camodocal

Easy to use and accurate hand eye calibration which has been working reliably for years (2016-present) with kinect, kinectv2, rgbd cameras, optical trackers, and several robots including the ur5 and kuka iiwa.
BSD 2-Clause "Simplified" License
543 stars 178 forks source link

cannot find -lgflags_static #24

Closed 1gen100 closed 4 years ago

1gen100 commented 5 years ago

Hey, I am trying to get the program running but I can't seem to get it working because of a recurring error that I can't debug, hope you can help me.

~/catkin_ws$ catkin_make

Base path: /home/student/catkin_ws Source space: /home/student/catkin_ws/src Build space: /home/student/catkin_ws/build Devel space: /home/student/catkin_ws/devel Install space: /home/student/catkin_ws/install

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

Running command: "make -j8 -l8" in "/home/student/catkin_ws/build"

[ 0%] Built target std_msgs_generate_messages_lisp [ 0%] Built target std_msgs_generate_messages_nodejs [ 0%] Built target std_msgs_generate_messages_cpp [ 0%] Built target std_msgs_generate_messages_eus [ 0%] Built target std_msgs_generate_messages_py [ 13%] Built target kinect2_registration [ 13%] Built target _beginner_tutorials_generate_messages_check_deps_Num [ 13%] Built target _beginner_tutorials_generate_messages_check_deps_AddTwoInts [ 16%] Linking CXX executable /home/student/catkin_ws/devel/lib/handeye_calib_camodocal/handeye_calib_camodocal [ 26%] Built target beginner_tutorials_generate_messages_eus [ 33%] Built target beginner_tutorials_generate_messages_cpp [ 40%] Built target beginner_tutorials_generate_messages_lisp [ 53%] Built target beginner_tutorials_generate_messages_py [ 60%] Built target kinect2_calibration [ 66%] Built target kinect2_bridge [ 73%] Built target kinect2_bridge_nodelet [ 80%] Built target beginner_tutorials_generate_messages_nodejs [ 86%] Built target talker [ 93%] Built target listener [ 93%] Built target beginner_tutorials_generate_messages /usr/bin/ld: cannot find -lgflags_static collect2: error: ld returned 1 exit status handeye_calib_camodocal/CMakeFiles/handeye_calib_camodocal.dir/build.make:215: recipe for target '/home/student/catkin_ws/devel/lib/handeye_calib_camodocal/handeye_calib_camodocal' failed make[2]: [/home/student/catkin_ws/devel/lib/handeye_calib_camodocal/handeye_calib_camodocal] Error 1 CMakeFiles/Makefile2:2359: recipe for target 'handeye_calib_camodocal/CMakeFiles/handeye_calib_camodocal.dir/all' failed make[1]: [handeye_calib_camodocal/CMakeFiles/handeye_calib_camodocal.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j8 -l8" failed

ghost commented 5 years ago

Hi, Do U solve this problem? How?

1gen100 commented 4 years ago

Didn't get any support for this code, so ended using another repository for hand eye. This worked for me and there is support if needed: https://github.com/IFL-CAMP/easy_handeye