Robotics StackExchange | Archived questions

Catkin Build error (A1 Robot)

Hello, I have an A1, and I am trying to set up the environment.

Then, I got this problem when I tried to make a “catkin build”

The problem: unitreeleggedsdk/unitreeleggedsdk.h: No such file or directory.image description

Asked by engr.bulut on 2022-04-27 06:44:09 UTC

Comments

Answers

Hard to say the exact problem from the information provided.

I would try to find where that file lives and make sure that the target's include paths are properly set. In plain CMake this involves celling the target_include_directories function (function? macro? not sure the proper CMake terminology). I'm not remembering if ROS has special calls to change the include paths. You can also pass -v to GCC I believe for verbose output and see all include paths.

Asked by cmfuhrman on 2022-04-28 10:08:14 UTC

Comments