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

Revision history [back]

There are two tools that can actually help you with this.

roscompile by @David Lu figures out many missing dependencies, especially with C++. To quote the ReadMe:

Checks for dependencies by looking in the source code, message, service, action and launch files.

Also catkin_lint helps in setting the CMakeLists.txt and package.xml up correctly. The combination of both tools is pretty powerful. But you should still but some thought into what is going on...

There are two tools that can actually help you with this.

roscompile by @David Lu figures out many issue, also missing dependencies, especially with C++. dependencies. To quote the ReadMe:

Checks for dependencies by looking in the source code, message, service, action and launch files.

Also catkin_lint helps in setting the CMakeLists.txt and package.xml up correctly. The combination of both tools is pretty powerful. But you should still but some thought into what is going on...

There are two tools that can actually help you with this.

roscompile by @David Lu figures out many issue, also missing dependencies. To quote the ReadMe:

  • Checks for dependencies by looking in the source code, message, service, action and launch files.

  • Inserts build/run/test dependencies into your package.xml
  • Inserts dependencies into your CMakeLists.txt (in both the find_package and catkin_package commands)
  • Sorts lists of dependencies (in both package.xml/CMakeLists.txt)

Also catkin_lint helps in setting the CMakeLists.txt and package.xml up correctly. The combination of both tools is pretty powerful. But you should still but some thought into what is going on...