Skip to content

[Humble] Build failure: Missing pcl_conversions dependency in CMakeLists.txt #25

@audrow

Description

@audrow

On the Humble buildfarm, the build fails with a fatal error in src/receiver.cpp:
fatal error: pcl_conversions/pcl_conversions.h: No such file or directory

https://build.ros2.org/view/Hbin_uJ64/job/Hbin_uJ64__off_highway_general_purpose_radar__ubuntu_jammy_amd64__binary/57/console

While the package is installed in the environment, the off_highway_general_purpose_radar target is not linking against it.

Suggested Fix:
Add pcl_conversions to ament_target_dependencies in CMakeLists.txt.

ament_target_dependencies(off_highway_general_purpose_radar
  # ... existing dependencies
  pcl_conversions
)

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