Skip to content

Commit

Permalink
Fix build when PCL not enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
fspindle committed Apr 5, 2024
1 parent 99ff41e commit 4187915
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions example/device/framegrabber/readRealSenseData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -311,9 +311,11 @@ int main(int argc, const char *argv[])
else {
d2.init(I_depth, I_color.getWidth() + 10, 0, "Depth image");
}
#if defined(VISP_HAVE_PCL)
pcl_viewer.setPosition(I_color.getWidth() + 10, I_color.getHeight() + 70);
pcl_viewer.setWindowName("3D point cloud");
pcl_viewer.startThread(std::ref(mutex), pointcloud);
#endif
}

vpDisplay::display(I_color);
Expand Down

0 comments on commit 4187915

Please sign in to comment.