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

CMake error in hector_navigation or navigation

asked 2016-03-07 04:04:03 -0500

papaclaudia gravatar image

updated 2016-03-07 04:06:25 -0500

Hi! I'm using a RPi2 with Ubuntu and ROS Indigo (desktop). I am trying to install hector_navigation:

cd catkin_ws/src
git clone

but at this point I get this error message:

CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:75 (find_package):
Could not find a package configuration file provided by "pcl_conversions"
with any of the following names:


Add the installation prefix of "pcl_conversions" to CMAKE_PREFIX_PATH or
set "pcl_conversions_DIR" to a directory containing one of the above files.
If "pcl_conversions" provides a separate development package or SDK, be
sure it has been installed.
Call Stack (most recent call first):
hector_navigation/hector_costmap/CMakeLists.txt:7 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/ubuntu/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/ubuntu/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed

I had got the same problem too by installing navigation from . How do I fix? Thank you!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-03-07 04:16:09 -0500

BennyRe gravatar image

This error says that the package pcl_conversions is missing. Install it by hand or use the very useful rosdep tool. (Not sure if it works on a RPi)

edit flag offensive delete link more


Thank you! I have just one more question for you: with "install it by hand" do you mean always doing from ""?

papaclaudia gravatar image papaclaudia  ( 2016-03-07 04:24:19 -0500 )edit

No. You should only install a package from source (from if you have reasons to do it. If you just want to use the package then installing it via sudo apt-get install ... should be preferred.

BennyRe gravatar image BennyRe  ( 2016-03-07 05:14:54 -0500 )edit

Hi! I tried doing "sudo apt-get update" and then "sudo apt-get install ros-indigo-pcl-conversions" but I get "Enable to locate packages...". How can I do?

papaclaudia gravatar image papaclaudia  ( 2016-03-08 04:44:37 -0500 )edit

Question Tools

1 follower


Asked: 2016-03-07 04:04:03 -0500

Seen: 359 times

Last updated: Mar 07 '16