ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
2

Installing PCL for ROS Indigo

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

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
4

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

paulbovbel gravatar image

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

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 image simaopp  ( 2017-11-30 04:25:14 -0500 )edit

Question Tools

1 follower

Stats

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

Seen: 15,593 times

Last updated: Jan 23 '15