Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save zhenzhenxiang/c2127ee7ad54a2e99ba7a4fdc0cf7147 to your computer and use it in GitHub Desktop.

Select an option

Save zhenzhenxiang/c2127ee7ad54a2e99ba7a4fdc0cf7147 to your computer and use it in GitHub Desktop.
Upgrade PCL from 1.7 to 1.8 on Ubuntu 16.04

Upgrade PCL from 1.7 to 1.8 on Ubuntu 16.04

Uninstall PCL 1.7

  1. Remove libpcl-dev

    sudo apt remove libpcl-dev
  2. Remove libraries

    cd /usr/lib/x86_64-linux-gnu
    sudo rm libpcl*
  3. Remove headers

    cd /usr/include
    sudo rm -r pcl-1.7

Install PCL 1.8 from .deb file

  1. Download .deb from here.

  2. Install it:

    sudo dpkg -i PCL-1.8.1-Linux.deb

Misc

  1. Install libproj-dev
    sudo apt-get update
    sudo apt-get install libproj-dev
@joedavidbuilds
Copy link

joedavidbuilds commented Aug 31, 2024

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.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment