Skip to content

Commit

Permalink
Fix Could NOT find Boost (missing: Boost_INCLUDE_DIR) (#452)
Browse files Browse the repository at this point in the history
* Fix `Could NOT find Boost (missing: Boost_INCLUDE_DIR)`

Fix #446
See the discussion at #447

* Fix ament_cpplint

* Fix ament_lint_cmake
  • Loading branch information
Rayman authored Jun 3, 2024
1 parent abc0c50 commit 1b11ebd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions pcl_ros/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ ament_target_dependencies(pointcloud_to_pcd_lib
tf2_ros)
rclcpp_components_register_node(pointcloud_to_pcd_lib
PLUGIN "pcl_ros::PointCloudToPCD"
EXECUTABLE pointcloud_to_pcd)
EXECUTABLE pointcloud_to_pcd)

#
#add_executable(pointcloud_to_pcd tools/pointcloud_to_pcd.cpp)
Expand Down Expand Up @@ -236,7 +236,7 @@ install(
pcl_ros_filters
# pcl_ros_surface
# pcl_ros_segmentation
pointcloud_to_pcd_lib
pointcloud_to_pcd_lib
# bag_to_pcd
# convert_pcd_to_image
# convert_pointcloud_to_image
Expand Down
2 changes: 2 additions & 0 deletions pcl_ros/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@

<buildtool_depend>ament_cmake</buildtool_depend>

<build_depend>libpcl-all-dev</build_depend>

<build_export_depend>libpcl-all-dev</build_export_depend>

<depend>eigen</depend>
Expand Down
7 changes: 3 additions & 4 deletions pcl_ros/tools/pointcloud_to_pcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,13 @@ Cloud Data) file format.
#include <pcl/io/pcd_io.h>
#include <pcl/point_types.h>
#include <pcl_conversions/pcl_conversions.h>
#include <tf2_ros/buffer.h>
#include <tf2_ros/transform_listener.h>

#include <rclcpp/rclcpp.hpp>
#include "rclcpp_components/register_node_macro.hpp"
#include <rclcpp_components/register_node_macro.hpp>
#include <sensor_msgs/msg/point_cloud2.hpp>
#include <tf2_eigen/tf2_eigen.hpp>
#include <tf2_ros/buffer.h>
#include <tf2_ros/transform_listener.h>


namespace pcl_ros
{
Expand Down

0 comments on commit 1b11ebd

Please sign in to comment.