From 3eecd4e37b9a4f1ca73a7cd09c0219332e7a18cb Mon Sep 17 00:00:00 2001 From: Markus Vieth <39675748+mvieth@users.noreply.github.com> Date: Thu, 7 Jul 2022 21:22:26 +0200 Subject: [PATCH] Add boost include, missing in upcoming PCL versions (ros2) (#374) * Remove name of nonexistent PCL component (core) Probably, common is meant, which is also requested * Add boost include, missing in upcoming PCL versions Was removed in pcl/conversion.h here: https://github.com/PointCloudLibrary/pcl/commit/292593abd3b69af315c7fe3379363bdce7800d5a --- pcl_ros/CMakeLists.txt | 2 +- pcl_ros/include/pcl_ros/point_cloud.hpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pcl_ros/CMakeLists.txt b/pcl_ros/CMakeLists.txt index 258f2366..29efc189 100644 --- a/pcl_ros/CMakeLists.txt +++ b/pcl_ros/CMakeLists.txt @@ -10,7 +10,7 @@ endif() ## Find system dependencies find_package(Eigen3 REQUIRED) -find_package(PCL REQUIRED QUIET COMPONENTS core common features filters io segmentation surface) +find_package(PCL REQUIRED QUIET COMPONENTS common features filters io segmentation surface) ## Find ROS package dependencies find_package(ament_cmake REQUIRED) diff --git a/pcl_ros/include/pcl_ros/point_cloud.hpp b/pcl_ros/include/pcl_ros/point_cloud.hpp index 2b7ec855..2b8fd6a4 100644 --- a/pcl_ros/include/pcl_ros/point_cloud.hpp +++ b/pcl_ros/include/pcl_ros/point_cloud.hpp @@ -57,6 +57,7 @@ #endif #include #include +#include // for BOOST_FOREACH #include #include #include