ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You appear to have custom logic in your CMake to detect ROS 2 and ROS 1. However the build of event_camera_msgs is failing to detect the version of ROS and is not building. I would recommend making sure that is an error case that will fail the build so you know it didn't work. But that looks like it means that nothing is installed.

From: https://build.ros2.org/job/Rbin_uJ64__event_camera_msgs__ubuntu_jammy_amd64__binary/1/console

08:17:47 ERRORROS_VERSION environment variable is not set!

Which appears to come from here: https://github.com/ros-event-camera/event_camera_msgs/blob/3b56aa0bc13b5b521f2764495e0f3852b50bb8db/CMakeLists.txt#L28

If/since you need to rely on the ROS_VERSION environment variable being present you need a dependency on the package ros_environment which provides that environment variable.

The package is available and is installable (if you look in the logs you point to you can see it being installed), however it has no content.

You appear to have custom logic in your CMake to detect ROS 2 and ROS 1. However the build of event_camera_msgs is failing to detect the version of ROS and is not building. doing anything. I would recommend making sure that is an error case that will fail the build so you know it didn't work. But that looks like it means that nothing is built or installed. If that error should probably be a fatal error.

From: https://build.ros2.org/job/Rbin_uJ64__event_camera_msgs__ubuntu_jammy_amd64__binary/1/console

08:17:47 ERRORROS_VERSION environment variable is not set!

Which appears to come from here: https://github.com/ros-event-camera/event_camera_msgs/blob/3b56aa0bc13b5b521f2764495e0f3852b50bb8db/CMakeLists.txt#L28

If/since you need to rely on the ROS_VERSION environment variable being present you need a dependency on the package ros_environment which provides that environment variable.