Install libpcl-msgs-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libpcl-msgs-dev
C/C++ headers for PCL-related Robot OS Messages
This package is part of Robot OS (ROS). It contains messages which provide the glue between the Point Cloud Library and ROS. . This package contains the generated C++ headers.