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

Revision history [back]

click to hide/show revision 1
initial version

The posted console output already contains the exact error message:

CMake Error at /opt/ros/indigo/share/catkin/cmake/catkin_package.cmake:104 (message):
  catkin_package() called with unused arguments: ...
Call Stack (most recent call first):
  /opt/ros/indigo/share/catkin/cmake/catkin_package.cmake:98 (_catkin_package)
  beginner_tutorials/CMakeLists.txt:81 (catkin_package)

So you are passing invalid arguments to the catkin_package() function.

If the posted code is actually what you have in your CMake file:

catkin_package( ... CATKIN_DEPENDS message_runtime ... ...)

then ... is clearly not a valid argument. If ... is mentioned in the tutorial it is meant as an example and the dots have to be replaced with whatever else you need to pass.