Skip to content

Missing dependency on ament_index_cpp in visp_bridge (ROS 2 Jazzy) #148

@timtmit

Description

@timtmit

Hello,

I'm currently working with your packages on ROS 2 Jazzy, and I encountered a build error when compiling the visp_bridge package:

t_ws/src/vision_visp/visp_bridge/src/path_retriever.cpp:47:10: fatal error: ament_index_cpp/get_package_prefix.hpp: No such file or directory
   47 | #include <ament_index_cpp/get_package_prefix.hpp>

This issue occurs because the package is missing a dependency on ament_index_cpp.

To resolve the problem, I added ament_index_cpp to both the CMakeLists.txt and the package.xml of visp_bridge. After doing this, the build completed successfully.

I have created a pull request with the fix

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