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

ROS groovy catkin laser_assembler cmake error

asked 2013-12-09 16:53:36 -0600

Sentinal_Bias gravatar image

Hi i get the following cmake error when I try to build a project with the laser_assembler

CMake Error at /opt/ros/groovy/share/catkin/cmake/catkinConfig.cmake:72 (find_package):
  Could not find a configuration file for package laser_assembler.

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


Call Stack (most recent call first):
  spherical2_cartesian/CMakeLists.txt:7 (find_package)

CMake Error at /opt/ros/groovy/share/genmsg/cmake/genmsg-extras.cmake:244 (message):
  Messages depends on unknown pkg: laser_assembler (Missing
Call Stack (most recent call first):
  spherical2_cartesian/CMakeLists.txt:71 (generate_messages)

I am not sure why. I added the package to the build and run dependency in the package.xml Added the laser_assembler package to the required components and added the package name in the "Generate added messages and services with any dependencies listed here" generate_messages() command.

The documentation says the package is compatible with groovy...

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-12-09 18:03:22 -0600

William gravatar image

This means that your package cannot find laser_assembler in your CMAKE_PREFIX_PATH.

If you installed laser_assembler from apt-get, you need to make sure you ran source /opt/ros/groovy/setup.bash before trying to build your package.

If you are building everything from source then you need to make sure that laser_assembler is in your workspace or in a previous workspace which you have sourced.

edit flag offensive delete link more


Hi i am using the catkin_package. Also when I roscd I can find the laser_assembler package but I noticed it has a manifestfile, so I suppose it may have be built using rosbuild. My quick fix was to manually copy the .srv file I needed and copy it to my packages srv folder.

Sentinal_Bias gravatar image Sentinal_Bias  ( 2013-12-10 13:02:01 -0600 )edit

are their any issues with catkin packages finding stuff in rosbuild packages?

Sentinal_Bias gravatar image Sentinal_Bias  ( 2013-12-10 13:02:49 -0600 )edit

Yes, in groovy `laser_assembler` is a rosbuild package, it was converted to catkin in hydro. catkin packages cannot depend on rosbuild packages, only rosbuild packages can depend on other rosbuild packages. So in groovy your package would have to be rosbuild if you wanted to depend on `laser_assembler`.

William gravatar image William  ( 2013-12-10 13:07:32 -0600 )edit

Question Tools

1 follower


Asked: 2013-12-09 16:53:36 -0600

Seen: 338 times

Last updated: Dec 09 '13