-
Remove
libpcl-devsudo apt remove libpcl-dev
-
Remove libraries
cd /usr/lib/x86_64-linux-gnu sudo rm libpcl*
-
Remove headers
cd /usr/include sudo rm -r pcl-1.7
-
Download
.debfrom here. -
Install it:
sudo dpkg -i PCL-1.8.1-Linux.deb
- Install libproj-dev
sudo apt-get update sudo apt-get install libproj-dev
Steps 2 and 3 of Uninstall are important. if you don't do them you run into errors such as these when compiling your project with your new version of the library.