unitreerobotics / unitree_ros_to_real

107 stars 94 forks source link

make error #56

Open Chow411 opened 1 year ago

Chow411 commented 1 year ago

/usr/bin/ld: cannot find -lunitree_leggedsdk collect2: error: ld returned 1 exit status make[2]: [unitree_ros_to_real/unitree_legged_real/CMakeFiles/lcm_server_3_2.dir/build.make:102: /home/pi/catkin_ws/devel/lib/unitree_legged_real/lcm_server_3_2] Error 1 make[1]: [CMakeFiles/Makefile2:1728: unitree_ros_to_real/unitree_legged_real/CMakeFiles/lcm_server_3_2.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... [ 89%] Linking CXX executable /home/pi/catkin_ws/devel/lib/unitree_legged_real/velocity_lcm /usr/bin/ld: cannot find -lunitree_leggedsdk collect2: error: ld returned 1 exit status make[2]: [unitree_ros_to_real/unitree_legged_real/CMakeFiles/position_lcm.dir/build.make:102: /home/pi/catkin_ws/devel/lib/unitree_legged_real/position_lcm] Error 1 make[1]: [CMakeFiles/Makefile2:1919: unitree_ros_to_real/unitree_legged_real/CMakeFiles/position_lcm.dir/all] Error 2 /usr/bin/ld: cannot find -lunitree_leggedsdk collect2: error: ld returned 1 exit status make[2]: [unitree_ros_to_real/unitree_legged_real/CMakeFiles/walk_lcm.dir/build.make:102: /home/pi/catkin_ws/devel/lib/unitree_legged_real/walk_lcm] Error 1 make[1]: [CMakeFiles/Makefile2:1591: unitree_ros_to_real/unitree_legged_real/CMakeFiles/walk_lcm.dir/all] Error 2 /usr/bin/ld: cannot find -lunitree_leggedsdk collect2: error: ld returned 1 exit status make[2]: [unitree_ros_to_real/unitree_legged_real/CMakeFiles/velocity_lcm.dir/build.make:102: /home/pi/catkin_ws/devel/lib/unitree_legged_real/velocity_lcm] Error 1 make[1]: [CMakeFiles/Makefile2:1975: unitree_ros_to_real/unitree_legged_real/CMakeFiles/velocity_lcm.dir/all] Error 2 make: [Makefile:141: all] Error 2 Invoking "make -j4 -l4" failed

I try to catkin_make but unwork Distributor ID: Raspbian Description: Raspbian GNU/Linux 10 (buster) Release: 10 Codename: buster ros-kinetic

xyq1223 commented 1 year ago

Hello,we recommend that you download the latest version of the SDK, recompile it and try it again. https://github.com/unitreerobotics/unitree_legged_sdk