Closed dbaldwin closed 2 years ago
I was able to get this to build by changing this line:
string(CONCAT LEGGED_SDK_NAME libunitree_legged_sdk.so)
to:
string(CONCAT LEGGED_SDK_NAME libunitree_legged_sdk_amd64.so)
Since my architecture is amd64. But I'd still like to understand why the normal build process didn't work for me.
Just for future travellers:
I came across the similar issue again with latest version of unitree_ros_to_real
and unitree_legged_sdk
, and solved with a similar change:
from
set(LEGGED_SDK_NAME -pthread libunitree_legged_sdk_${ARCH}.so lcm)
link_directories(${CMAKE_SOURCE_DIR}/unitree_legged_sdk-master/lib)
to
set(LEGGED_SDK_NAME -pthread libunitree_legged_sdk.a lcm)
link_directories(${CMAKE_SOURCE_DIR}/unitree_legged_sdk/lib/cpp/${ARCH})
Perhaps lcm can be removed too, because Go1 no longer depends on it.
@ZKBian and Unitree team, I'm wondering if I can get some assistance with building the ROS packages for Gazebo simulation. I'm running into the following error in the screenshot below:
cannot find -lunitree_legged_sdk
I've gone through all the steps in the README file as well as several of the GitHub Issues. Here is what I've done:
Could this possibly be a ROS Noetic issue? Any help would be greatly appreciated.
Thank you.