Skip to content

[Bug]: rmf_visualization_rviz2_plugins fails building in Rolling #87

@luca-della-vedova

Description

@luca-della-vedova

Before proceeding, is there an existing issue or discussion for this?

OS and version

Ubuntu 24.04

Open-RMF installation type

Source build

Open-RMF version or commit hash

main

ROS distribution

Rolling

ROS installation type

Binaries

Description of the bug

rmf_visualization_rviz2_plugins depends on Qt5 but it is now EOL and it seems .
Building an RMF workspace from source in Rolling results in the following error:

CMake Error at /opt/ros/rolling/share/rviz_common/cmake/ament_cmake_export_dependencies-extras.cmake:21 (find_package):
  Found package configuration file:

    /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake

  but it set Qt5_FOUND to FALSE so package "Qt5" is considered to be NOT
  FOUND.  Reason given by package:

  The Qt5 package requires at least one component

Call Stack (most recent call first):
  /opt/ros/rolling/share/rviz_common/cmake/rviz_commonConfig.cmake:41 (include)
  CMakeLists.txt:30 (find_package)


---
Failed   <<< rmf_visualization_rviz2_plugins [3.80s, exited with code 1]

The error seems to originate in rviz_common, it might be due to other packages migrating to Qt6 hence not installing Qt5 components anymore

Steps to reproduce the bug

  1. Clone the repo under Rolling
  2. Try to build it

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Blocked

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions