Personal edit version of official examples of mesh sample and icp.
Please make and install VTK lib first, then the PCL.
If you face some conf problem, please edit your system file and add the include path.
mesh sample
cd mesh_sample
mkdir build && cd build
cmake ..
make -j
icp
cd icp
mkdir build && cd build
cmake ..
make -j
Then you will get pcl-mesh-sample and pcl-icp.