'PCL library setup using vcpkg seems to be missing include files (pcl/visualization in particular)

My goal is to visualize a point cloud using PCL. This is possible according to their official tutorial (link). In the tutorial there is an include path pointing to cloud_viewer.h file (located under visualization folder). After a vcpkg install using "vcpkg install pcl:x64-windows" I couldn’t find the visualization folder. After some research it I found out that "visualization" does not come with default PCL install, but it is an optional feature (link). Then I used the "vcpkg install pcl[vtk]:x64-windows --featurepackages" and I am still missing the needed folder. If anyone could point out to me where am I making a mistake I would appreciate it.



Solution 1:[1]

I got the same problem with you. It seems vcpkg is not a good choice for pcl library. Many people have the same problem with visualization module

Solution 2:[2]

Using vcpkg does not provide all files, includes and headers for pcl. I had the same issue, and downloading pcl all in one solved it. You can find it here for example: http://unanancyowen.com/en/pcl181/ Other thing that can help, is to use this command on vcpkg:

.\vcpkg install pcl:x64-windows-static

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 ???
Solution 2