Skip to content

pal_statistics_macros.hpp: No such file or directory #23

@christophfroehlich

Description

@christophfroehlich

The latest release breaks existing packages in humble workspaces, because the path of the installed header files changed and colcon/CMake of downstream packages does not auto-fix this with a normal build.

In file included from /opt/ros2_ws/install/hardware_interface/include/hardware_interface/hardware_interface/handle.hpp:33,
                <some custom packages>
/opt/ros2_ws/install/hardware_interface/include/hardware_interface/hardware_interface/introspection.hpp:23:10: fatal error: pal_statistics/pal_statistics_macros.hpp: No such file or directory
   23 | #include "pal_statistics/pal_statistics_macros.hpp"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Can be fixed with a clean build (rm -rf build log install), and maybe with colcon build --cmake-force-configure.

Maybe there is a different fix for 87834d3
👀 @jordan-palacios @Noel215 @saikishor

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