ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A answers.ros.org
Ask Your Question
2

Installing PCL for ROS Indigo

asked 2015-01-22 07:28:17 -0600

RosFan19 gravatar image

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

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}) ...

etc

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:

PCLConfig.cmake
pcl-config.cmake

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2015-01-23 06:58:13 -0600

paulbovbel gravatar image

updated 2015-01-23 07:00:30 -0600

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

edit flag offensive delete link more

Comments

Can you please be more detailed about how to do it? I cant install it on ROS. Thank you

simaopp gravatar imagesimaopp ( 2017-11-30 04:25:14 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-01-22 07:28:17 -0600

Seen: 12,450 times

Last updated: Jan 23 '15