-
Notifications
You must be signed in to change notification settings - Fork 684
Open
Labels
Description
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
- CMakeLists.txt Line 154 should be "Eigen3"
To Reproduce
Steps to reproduce the behavior:
- Go to velodyne meta package CMakeLists.txt
- Add a line:
find_package(velodyne_pointcloud REQUIRED) - Try to build
colcon build --packages-up-to velodyne - See error about "By not providing "Findeigen.cmake" in CMAKE_MODULE_PATH this project..."
- Change velodyne_pointcloud CMakeLists.txt line: 154 to
Eigen3 - Remove previous build artifacts
- Rebuild (step 3)
- See that Eigen is now fine but the same error appears only about PCL this time
- Change velodyne_pointcloud CMakeLists.txt line: 157 to
PCL - Remove previous build artifacts
- Rebuild (step 3)
- 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.
Reactions are currently unavailable