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

Configuration of pcl with cmake

asked 2014-12-18 23:52:02 -0500

lantern gravatar image

updated 2014-12-19 09:59:28 -0500

I am new to pcl and cmake..

So here am stuck in installation of pcl in linux_ubuntun14.04 ..

I had downloaded the from github. Besides I had also installed pcl through terminal sudo apt-get pcllibaries....

While trying an example it showing the following error..

CMake Error at CMakeLists.txt:5 (find_package):
  By not providing "FindPCL.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "PCL", but
  CMake did not find one.
  Could not find a package configuration file provided by "PCL" (requested
  version 1.2) 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.
-- Configuring incomplete, errors occurred!
See also "/home/iamlantern/Desktop/pcl_install/pcl-pcl-

Thanks for your patience and happy to follow your great suggestions....

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-12-22 03:15:23 -0500

VictorLamoine gravatar image

updated 2015-09-16 15:00:58 -0500

There are several ways to install PCL, the first solution is to install the last release using ROS repositories:

sudo apt-get install ros-indigo-pcl-ros

You could also install PCL with the PPA for Ubuntu but in fact this is how PCL is installed when you install PCL-ROS package.

If you need the bleeding edge version of PCL you have to compile it yourself using PCL trunk. You want to compile PCL when you need features not included in releases/PPA (CUDA, surface module etc.) or you use something that has been improved/fixed into PCL repository but not in a release yet.

When installed through ROS/PPA, the CMake files are located in


If you build and install (default CMake prefix) PCL from source the cmake files are located in

edit flag offensive delete link more

Question Tools



Asked: 2014-12-18 23:52:02 -0500

Seen: 13,052 times

Last updated: Sep 16 '15