Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ports/pcl/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Source: pcl
Version: 1.11.1
Port-Version: 1
Homepage: https://github.com/PointCloudLibrary/pcl
Description: Point Cloud Library (PCL) is open source library for 2D/3D image and point cloud processing.
Build-Depends: eigen3, flann, qhull, libpng, boost-system, boost-filesystem, boost-thread, boost-date-time, boost-iostreams, boost-random, boost-foreach, boost-dynamic-bitset, boost-property-map, boost-graph, boost-multi-array, boost-signals2, boost-sort, boost-ptr-container, boost-uuid, boost-interprocess, boost-asio
Expand Down
1 change: 1 addition & 0 deletions ports/pcl/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ vcpkg_from_github(
fix-link-libpng.patch
remove-broken-targets.patch
fix-check-sse.patch
realsense2.patch
)

file(REMOVE ${SOURCE_PATH}/cmake/Modules/FindFLANN.cmake)
Expand Down
13 changes: 13 additions & 0 deletions ports/pcl/realsense2.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/io/src/real_sense_2_grabber.cpp b/io/src/real_sense_2_grabber.cpp
index d13231e..06d1238 100644
--- a/io/src/real_sense_2_grabber.cpp
+++ b/io/src/real_sense_2_grabber.cpp
@@ -287,7 +287,7 @@ namespace pcl
cloud->width = sp.width ();
cloud->height = sp.height ();
cloud->is_dense = false;
- cloud->points.resize ( size () );
+ cloud->points.resize ( points.size () );

const auto cloud_vertices_ptr = points.get_vertices ();
const auto cloud_texture_ptr = points.get_texture_coordinates ();