Ask Your Question
1

CMake: PCL and Ros Hydro

asked 2013-09-20 15:58:42 -0500

atp gravatar image

updated 2013-11-14 10:51:10 -0500

tfoote gravatar image

I'm trying to follow this tutorial: http://wiki.ros.org/pcl/Tutorials

However, I'm not sure what the CMake file needs to look like. I'm getting the following error when compiling:

Could not find a configuration file for package pcl.

Set pcl_DIR to the directory containing a CMake configuration file for pcl. The file will have one of the following names:

pclConfig.cmake
pcl-config.cmake
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-09-20 17:51:15 -0500

It looks like this tutorial is outdated. In hydro, pcl is no more available as a package dependency, but now as a system dependency, meaning the default CMake mechanism described here at the end of the section has to be used.

The moveit_ros_perception package can serve as an example (pretty sure you could find others, but that one was the first that crossed my mind).

edit flag offensive delete link more

Comments

That helped a lot! Thank you!

atp gravatar image atp  ( 2013-09-21 06:01:02 -0500 )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

Stats

Asked: 2013-09-20 15:58:42 -0500

Seen: 1,333 times

Last updated: Sep 20 '13