Skip to content

Eigen3 and PCL are not being exported properly by velodyne_pointcloud #550

@benjaminholdennearearth

Description

@benjaminholdennearearth

Please complete the following information:

  • OS and Version: Ubuntu 22.04
  • ROS Version: Humble
  • Built from Source or Downloaded from Official Repository: Official Repository
  • Version: 2.5.1-1jammy.20241031.171005

Describe the bug
Eigen and PCL are not being exported properly by velodyne_pointcloud

To Reproduce
Steps to reproduce the behavior:

  1. Go to velodyne meta package CMakeLists.txt
  2. Add a line: find_package(velodyne_pointcloud REQUIRED)
  3. Try to build colcon build --packages-up-to velodyne
  4. See error about "By not providing "Findeigen.cmake" in CMAKE_MODULE_PATH this project..."
  5. Change velodyne_pointcloud CMakeLists.txt line: 154 to Eigen3
  6. Remove previous build artifacts
  7. Rebuild (step 3)
  8. See that Eigen is now fine but the same error appears only about PCL this time
  9. Change velodyne_pointcloud CMakeLists.txt line: 157 to PCL
  10. Remove previous build artifacts
  11. Rebuild (step 3)
  12. View that all errors are gone now

Expected behavior
Eigen3 and PCL should be exported properly by ament so that any package that has a build dependency on "velodyne_pointcloud" can build properly

Additional context
I believe that in general the name of the package used in the find_package(...) command should match the name (and case) used in the ament_export_dependencies command.

I hope this issue request is helpful and thank you for the hard work you all put into this software.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions