ros-drivers / transport_drivers

A set of ROS2 drivers for transport-layer protocols.
Apache License 2.0
92 stars 56 forks source link

[Jazzy] Could not find a package configuration file provided by "asio_cmake_module" #101

Open Timple opened 3 months ago

Timple commented 3 months ago

In io_context the asio_cmake_module is listed as buildtool_depend: https://github.com/ros-drivers/transport_drivers/blob/9fff59f66e4e0f9296501b3f671adc6543509996/io_context/package.xml#L14

So probably the buildfarm doesn't add this as dependency so it's not installed on a users system which only has io_context as dependency.

However it should be find_packaged as seen here: https://github.com/ros-drivers/transport_drivers/blob/9fff59f66e4e0f9296501b3f671adc6543509996/io_context/io_context-extras.cmake#L17

I don't think it's required in io_context-extras.cmake, what do you think?

Hzx158 commented 2 months ago

I also encountered the same problem. Have you solved it?

Timple commented 2 months ago

I think I just manually installed it for now:

apt install ros-jazzy-asio-cmake-module
Hzx158 commented 2 months ago

Thanks

jjannik commented 1 month ago

This also happened to me today on a ROS2 Humble.

The issue was solved when installing apt install ros-humble-asio-cmake-module

Here is what I tried to do The cmake file io_context-extras.cmake which was not there in an older artifact: ros-humble-io-context 1.2.0-2jammy.20230919.223322 is available in the current artifact ros-humble-io-context 1.2.0-2jammy.20240729.001626

Which has a dependency to asio_cmake_module find_package(asio_cmake_module REQUIRED)

which makes ros-humble-asio-cmake-module a dependent package of ros-humble-io-context

However this is not correctly reflected inside the Debian Package of ros-humble-io-context