DRCL-USC / Hector_Simulation

Simulation Software (ROS/MATLAB) for HECTOR Humanoid Robot Locomotion Control/Bipedal Locomotion Control/Force-and-moment-based MPC
https://youtu.be/NcW-NFwjMh0
Other
393 stars 121 forks source link

catkin build "make -j4 -l4 failed" #22

Closed tien-li closed 4 months ago

tien-li commented 5 months ago

/usr/bin/ld: skipping incompatible /home/ken/Desktop/catkin_ws/src/Hector_Simulation/Hector_ROS_Simulation/unitree_ros/unitree_legged_control/lib/libunitree_joint_control_tool.so when searching for -lunitree_joint_control_tool /usr/bin/ld: cannot find -lunitree_joint_control_tool collect2: error: ld returned 1 exit status make[2]: [Hector_Simulation/Hector_ROS_Simulation/unitree_ros/unitree_legged_control/CMakeFiles/unitree_legged_control.dir/build.make:110: /home/ken/Desktop/catkin_ws/devel/lib/libunitree_legged_control.so] Error 1 make[1]: [CMakeFiles/Makefile2:2532: Hector_Simulation/Hector_ROS_Simulation/unitree_ros/unitree_legged_control/CMakeFiles/unitree_legged_control.dir/all] Error 2 make: *** [Makefile:141: all] Error 2 Invoking "make -j4 -l4" failed

I try to catkin_build on my computer but I get this issue, do you know how to fix this?

tien-li commented 5 months ago

I am using M2 Macbook pro with Ubuntu 20.04 on virtual machine

junhengl commented 5 months ago

Unfortunately ARM platforms are not well-supported. You will run into many issues.

OSKOOO commented 4 months ago

I will close this issue.