Closed qixuxiang closed 6 years ago
/usr/bin/ld: /root/Code/rgbdslam_catkin_ws/src/rgbdslam/external/SiftGPU/bin/libsiftgpu.a(GlobalUtil.o): undefined reference to symbol 'XDestroyWindow' //usr/lib/x86_64-linux-gnu/libX11.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status rgbdslam/CMakeFiles/rgbdslam.dir/build.make:1543: recipe for target '/root/Code/rgbdslam_catkin_ws/devel/lib/rgbdslam/rgbdslam' failed make[2]: [/root/Code/rgbdslam_catkin_ws/devel/lib/rgbdslam/rgbdslam] Error 1 CMakeFiles/Makefile2:3038: recipe for target 'rgbdslam/CMakeFiles/rgbdslam.dir/all' failed make[1]: [rgbdslam/CMakeFiles/rgbdslam.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2
Happened in Ubuntu 16.04 + ROS kinetic
/usr/bin/ld: /root/Code/rgbdslam_catkin_ws/src/rgbdslam/external/SiftGPU/bin/libsiftgpu.a(GlobalUtil.o): undefined reference to symbol 'XDestroyWindow' //usr/lib/x86_64-linux-gnu/libX11.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status rgbdslam/CMakeFiles/rgbdslam.dir/build.make:1543: recipe for target '/root/Code/rgbdslam_catkin_ws/devel/lib/rgbdslam/rgbdslam' failed make[2]: [/root/Code/rgbdslam_catkin_ws/devel/lib/rgbdslam/rgbdslam] Error 1 CMakeFiles/Makefile2:3038: recipe for target 'rgbdslam/CMakeFiles/rgbdslam.dir/all' failed make[1]: [rgbdslam/CMakeFiles/rgbdslam.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2
Happened in Ubuntu 16.04 + ROS kinetic