ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

PCL missing when building Indigo for raspberry pi

asked 2015-01-10 15:46:32 -0500

Freyr gravatar image

updated 2022-01-22 16:16:30 -0500

Evgeny gravatar image

I'm trying to setup the ros stack for indigo on my raspberry pi B+ according to

I deviate from the script and specified the robot and perception package and during the actual building of the workspace I get problems from the pcl_conversions package. FindPCL.cmake seems to be missing causing tears.

This is what I get:

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" 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.

I'm quite new to ros so this is a major stumbling block for me. I found some references that PCL needed to tweek some flags in the build scripts in src/pcl but there is no sorce code there for pcl. Where should pcl be coming from? shouldn't the dependency resolve step figure out I need this one?

At a loss here, any help appreciated.

edit retag flag offensive close merge delete

4 Answers

Sort by ยป oldest newest most voted

answered 2015-05-29 09:15:14 -0500

Galto2000 gravatar image

I just ran into the same issue, after installing the perception variant of ROS on a Raspberry PI 2.

Does anyone have or know of any good instructions on installing PCL on the RPI2 ?

I found this: however this is probably for the first generation RPI, where cross compilation is way to circumvent the limited RAM issue. So I was wondering if anyone had already attempted to build PCL on the RPI2 - is there enough RAM on the RPI2 to compile PCL natively? Any other caveats?

Much appreciated


edit flag offensive delete link more

answered 2015-05-03 19:34:16 -0500

Maya gravatar image

I think you didn't install PCL on your raspberry pi and thus pcl_conversion doesn't compile.

You will need to install it but I'm not sure if there is a version of PCL in the repo for Debian and if you compile from source, it might take a while. Here I show how to install a version of ROS on the raspberry that is not the bare bone version (like in your tutorial) and it wasn't so easy. There is some dependencies that I couldn't resolve so I had to remove some packages from the install.

You could try that and remove pcl_conversion, hoping that it won't break anything else. Something like :

wstool rm pcl_conversion
rm -rf pcl_conversion

But you won't be able to use pcl in ROS if you do that.

To be honest, I don't think perception is going to be that useful on a raspberry pi. The link I gave earlier show how to install OpenCV and Openni as well if needed.

edit flag offensive delete link more

answered 2015-01-11 18:47:09 -0500

Freyr gravatar image

looks like the pcl does not list the indigo distribution. Is it not available yet? Would expect a lot of the top level stacks to break if that was the case. Should I be trying out the hydro distribution instead?

edit flag offensive delete link more

answered 2015-05-01 11:06:27 -0500

Stephen Eaton gravatar image

Did you have any joy with this as I've come across the same problem?


edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools



Asked: 2015-01-10 15:46:32 -0500

Seen: 1,162 times

Last updated: May 03 '15