Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Error: /usr/bin/ld: cannot find -lunitree_legged_sdk_ #57

Open
developermastermind07 opened this issue Mar 6, 2023 · 2 comments

Comments

@developermastermind07
Copy link

Unitree_legeed_sdk : 3.2.0
Unitree_ros_to_real : 3.2.1

While compiling Unitrees_ros_to_real i am getting following error,

[ 82%] Generating C++ code from unitree_legged_msgs/HighState.msg
[ 82%] Built target unitree_legged_msgs_generate_messages_cpp
Scanning dependencies of target unitree_legged_msgs_generate_messages
[ 82%] Built target unitree_legged_msgs_generate_messages
Scanning dependencies of target rosgraph_msgs_generate_messages_py
[ 82%] Built target rosgraph_msgs_generate_messages_py
Scanning dependencies of target roscpp_generate_messages_cpp
[ 82%] Built target roscpp_generate_messages_cpp
Scanning dependencies of target roscpp_generate_messages_eus
[ 82%] Built target roscpp_generate_messages_eus
Scanning dependencies of target rosgraph_msgs_generate_messages_nodejs
[ 82%] Built target rosgraph_msgs_generate_messages_nodejs
Scanning dependencies of target roscpp_generate_messages_py
[ 82%] Built target roscpp_generate_messages_py
Scanning dependencies of target roscpp_generate_messages_nodejs
[ 82%] Built target roscpp_generate_messages_nodejs
Scanning dependencies of target rosgraph_msgs_generate_messages_cpp
[ 82%] Built target rosgraph_msgs_generate_messages_cpp
Scanning dependencies of target rosgraph_msgs_generate_messages_eus
[ 82%] Built target rosgraph_msgs_generate_messages_eus
Scanning dependencies of target rosgraph_msgs_generate_messages_lisp
[ 82%] Built target rosgraph_msgs_generate_messages_lisp
Scanning dependencies of target roscpp_generate_messages_lisp
[ 82%] Built target roscpp_generate_messages_lisp
Scanning dependencies of target velocity_lcm
[ 84%] Building CXX object unitree_ros_to_real/unitree_legged_real/CMakeFiles/velocity_lcm.dir/src/exe/velocity_mode.cpp.o
[ 85%] Linking CXX executable /home/mahesh/catkin_ws/devel/lib/unitree_legged_real/velocity_lcm
/usr/bin/ld: cannot find -lunitree_legged_sdk_
collect2: error: ld returned 1 exit status
make[2]: *** [unitree_ros_to_real/unitree_legged_real/CMakeFiles/velocity_lcm.dir/build.make:101: /home/mahesh/catkin_ws/devel/lib/unitree_legged_real/velocity_lcm] Error 1
make[1]: *** [CMakeFiles/Makefile2:1564: unitree_ros_to_real/unitree_legged_real/CMakeFiles/velocity_lcm.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Invoking "make -j1" failed

Someone please help

@xyq1223
Copy link

xyq1223 commented Mar 29, 2023

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

@Boogard2021
Copy link

Hello,
@xyq1223, I have the same errors. I selected this versions (Unitree_legeed_sdk : 3.2.0
Unitree_ros_to_real : 3.2.1) due to use of A1 robot. But for compiling I received the same error. Do you have any idea about it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants