Closed Kaju-Bubanja closed 2 years ago
It looks like you are probably missing orocos_kdl_vendor
from your installation, which tf2_geometry_msgs
requires. I would suggest doing the following in the root of your workspace:
$ rm -f ros2.repos
$ wget https://raw.githubusercontent.com/ros2/ros2/master/ros2.repos
$ vcs import src < ros2.repos
$ vcs pull src
And then run your compile again.
That didn't really fix it, I didn't have the package, then I cloned it and built it all without problems, but I still get the same error when building tf2_geometry_msgs, I tried to source the workspace to be save but that didn't help either. Also I feel like the workflow with sourcing after building changed. Because now I get a bunch of overlay warnings, they were never a problem and the topic seems to be quite complex, but that's just a side info
What seems odd to me is that in the package.xml it says <depend>orocos_kdl_vendor</depend>
but in the CMakeLists.txt it says find_package(orocos_kdl REQUIRED)
usually these two names are the same. Is that deliberate here?
What seems odd to me is that in the package.xml it says
<depend>orocos_kdl_vendor</depend>
but in the CMakeLists.txt it saysfind_package(orocos_kdl REQUIRED)
usually these two names are the same. Is that deliberate here?
Yes, that's the way it is supposed to be here.
I'll suggest completely cleaning the workspace (remove the build
, install
, and log
directories), and then try building again.
Thank you, getting the missing package and installing from a clean workspace fixed the issue
Bug report
Required Info:
Steps to reproduce issue
Trying to build tf2_geometry_msgs leads to following error
Expected behavior
No compilation error
Actual behavior
See error above
Additional information