Skip to content

Building Integration Service on Ubuntu 22.04.2 LTS (Jammy Jellyfish) + ROS2 (humble) #189

@jcheca

Description

@jcheca

I would like to test FIWARE integration with ROS2, so I have installed ROS2 (humble) in my Ubuntu 22.04.02 fresh intallation and then eProsima Integration-Service with only just two system handle (ROS2 and FIWARE); I have installed all dependencies but when i build with NOFLAGs i have these error:

`Starting >>> xtypes
Starting >>> is-examples
[1.441s] WARNING:colcon.colcon_cmake.task.cmake.build:Could not run installation step for package 'is-examples' because it has no 'install' target
Finished <<< is-examples [0.16s]
Finished <<< xtypes [0.28s]
Starting >>> is-core
Finished <<< is-core [0.41s]
Starting >>> is-mock
Starting >>> is-json-xtypes
Finished <<< is-mock [0.26s]
Starting >>> is-ros2
Finished <<< is-json-xtypes [0.38s]
Starting >>> is-fiware
Finished <<< is-ros2 [0.29s]
Starting >>> is-ros2-mix-generator
Finished <<< is-fiware [0.36s]
--- stderr: is-ros2-mix-generator
CMake Error at /home/usuario/is-workspace/install/is-core/lib/cmake/is-core/cmake/is_mix_generator.cmake:596 (message):
Critical failure when trying to generate ros2 source files for std_msgs:

Unable to import rosidl_adapter. Please source a ROS2 installation first.
Call Stack (most recent call first):
/home/usuario/is-workspace/install/is-core/lib/cmake/is-core/cmake/is_mix_generator.cmake:341 (_is_mix_generate_source_files)
/home/usuario/is-workspace/install/is-core/lib/cmake/is-core/cmake/is_mix_generator.cmake:260 (_is_configure_mix_package)
cmake/is_ros2_rosidl_mix.cmake:69 (is_mix_generator)
CMakeLists.txt:91 (is_ros2_rosidl_mix)


Failed <<< is-ros2-mix-generator [1.49s, exited with code 1]

Summary: 7 packages finished [3.42s]
1 package failed: is-ros2-mix-generator
1 package had stderr output: is-ros2-mix-generator
`
I just only think that the only difference with documentation is ROS2 distribution (humble); in documentation describe ROS2 (foxy/Galactic) in Ubuntu 20.04

I would like to know is it is possible to build/run eProsima Integration Service in Ubuntu 22.04 with ROS2 (humble)

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions