Rosanswers logo

I have installed the latest PCL on Ubuntu 14.04 ROS Indigo, using the website: http://pointclouds.org/downloads/linux.html

sudo add-apt-repository ppa:v-launchpad-jochen-sprickerhof-de/pcl

sudo apt-get update

sudo apt-get install libpcl-all

Added to CMake:

find_package (PCL REQUIRED) ...

include_directories(${PCL_INCLUDE_DIRS}) ...


But I get an error at find_package method saying that:

Could not find a package configuration file provided by "PCL" with any of the following names:


Add the installation prefix of "PCL" to CMAKE_PREFIX_PATH or set "PCL_DIR" to a directory containing one of the above files. If "PCL" provides a separate development package or SDK, be sure it has been installed.

Meaning that PCL was not installed correctly. Now my question is that what did I miss during the course of installation or did I mistype something when finding packages?

Originally posted by RosFan19 on ROS Answers with karma: 107 on 2015-01-22

Post score: 2


1 Answer 1


Rosanswers logo

You do not need to install the PPA. Please purge the PPA from your system.

To pull in PCL as a dependency for your source package automatically, modify your package.xml like so

Then go into the base of your workspace and run:

rosdep install --from-paths src --ignore-src --rosdistro indigo -y

Rosdep will install the correct version of everything. A good reference for how to add PCL to your CMakeLists is here

Originally posted by paulbovbel with karma: 4518 on 2015-01-23

This answer was ACCEPTED on the original site

Post score: 4

Original comments

Comment by simaopp on 2017-11-30:
Can you please be more detailed about how to do it? I cant install it on ROS. Thank you


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.