geometry icon indicating copy to clipboard operation
geometry copied to clipboard

tf_conversions does not compile under noetic + bionic due python3-pykdl dependency

Open berndpfrommer opened this issue 3 years ago • 5 comments

I'm trying to build Noetic on Ubuntu 18.04 because NVidia does not support Ubuntu 20.04 yet on their Jetson/Xavier line. I am aware that Ubuntu 18.04 is not targeted for Noetic but I see few other alternatives than trying to build it from source on the Xavier AGX platform.

When I follow these instructions: http://wiki.ros.org/noetic/Installation/Source I hit the following snag:

rosdep install --from-paths ./src --ignore-packages-from-source --rosdistro noetic -y
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
tf_conversions: [python3-pykdl] defined as "not available" for OS version [bionic]
tf2_geometry_msgs: [python3-pykdl] defined as "not available" for OS version [bionic]
gazebo_dev: No definition of [libgazebo11-dev] for OS version [bionic]

Under Ubuntu 18.04 there is no such package as python3-pykdl. Any suggestions on how to work around this issue? Thanks!

berndpfrommer avatar Jun 03 '21 19:06 berndpfrommer

Same issue - any workarounds?

oliver-batchelor avatar Aug 02 '21 13:08 oliver-batchelor

Same issue. Any lead is appreciated!

saikishor avatar Aug 05 '21 11:08 saikishor

same issue. Currently the only solution I see available is to build within a docker container.

schmittlema avatar Aug 15 '21 00:08 schmittlema

@schmittlema Could you explain us how you are building it inside the container, if the issue is the dependency. We are also trying to build it within the docker, but we are not successful.

Thank you,

saikishor avatar Aug 16 '21 12:08 saikishor

Actually since writing this I managed to get it to build without a container. But the container solution would effectively be running 20.04 in a container. There are pre-built containers here which seem like the best solution.

In terms of building outside of a container I ran rosdep install --from-paths ./src --ignore-packages-from-source --rosdistro noetic -y -r Notice "-r" which continues installing dependencies despite failures. When I went to build the noetic stack, it seems to build pykdl from source bypassing the issue (I think) and builds fine. But I haven't tested running code so I could be giving the wrong advice.

schmittlema avatar Aug 16 '21 18:08 schmittlema