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
CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:224 (message):
catkin_package() DEPENDS on the catkin package 'message_generation' which must therefore be listed as a run dependency in the package.xml

This error message is not that difficult actually, but I can understand you may not be familiar with the terminology that is being used.

The issue is that you have message_generation listed in your catkin_package(.. CATKIN_DEPENDS ..) statement. That is incorrect, it should be message_runtime.

Please carefully review the Catkin documentation on Building messages, services or actions where this is shown.

CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:224 (message):
catkin_package() DEPENDS on the catkin package 'message_generation' which must therefore be listed as a run dependency in the package.xml

This error message is not that difficult actually, but I can understand you may not be familiar with the terminology that is being used.

The issue is that you have message_generation listed in your catkin_package(.. CATKIN_DEPENDS ..) statement. That is incorrect, it should be message_runtime.

Please carefully review the Catkin documentation on Building messages, services or actions where this is shown.

CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:224 (message):

catkin_package() DEPENDS on the catkin package 'message_generation' which must therefore be listed as a run dependency in the package.xml

This error message is not that difficult actually, but I can understand you may not be familiar with the terminology that is being used.

The issue is that you have message_generation listed in your catkin_package(.. CATKIN_DEPENDS ..) statement. That is incorrect, it should be message_runtime.

Please carefully review the Catkin documentation on Building messages, services or actions where this is shown.shown. It is also discussed in the Creating a ROS msg and srv tutorial, specifically in the Creating a msg section.