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

Revision history [back]

You need the following dependency in CMakeLists.txt:

add_dependencies(packabeB packageA_msgs_gencpp)

and also add packageA to packageB's manifest as a build and run dependency.

You need the following dependency in CMakeLists.txt:

add_dependencies(packabeB add_dependencies(packageB packageA_msgs_gencpp)

and also add packageA to packageB's manifest as a build and run dependency.

You need the following dependency in CMakeLists.txt:

add_dependencies(packageB packageA_msgs_gencpp)

and also add packageA to packageB's packageB's manifest as a build and run dependency.

You need the following dependency in CMakeLists.txt:

add_dependencies(packageB packageA_msgs_gencpp)

and also add packageA to packageB's manifest (package.xml) as a build and run dependency.

You need the following dependency in CMakeLists.txt:

add_dependencies(packageB packageA_msgs_gencpp)
packageA_gencpp)

and also add packageA to packageB's manifest (package.xml) as a build and run dependency.

You need the following dependency in CMakeLists.txt:

add_dependencies(packageB packageA_gencpp)

Here's an example from the navigation stack:

add_dependencies(move_base geometry_msgs_gencpp)

and also add packageA to packageB's manifest (package.xml) as a build and run dependency.