[ros-users] [Discourse.ros.org] [Next Generation ROS] Questions on ament, ament.py, ament_cmake and dependency resolvers

Adam Jiang ros.discourse at gmail.com
Wed Feb 28 12:47:09 UTC 2018



I am trying to write ament packages to adopt pieces of code to ament_cmake. Here is something strange I got.

- It is supposed that 'ament' performs like 'catkin' with which dependencies could be resolved by declaring in 'package.xml'. However, it seems that 'ament' cannot do this job. In an 'ament' package, dependencies should be declared explicitly in CMakeLists.txt with 'find_package' macro. Moreover, *_INCLUDE_DIRS or *_LIBRARIES variables have to be add into target_link*() macros explicitly too. Is this designed on purpose?

- An 'ament' package could be compiled by 'ament.py' with 'build_pkg' parameter. It seems that the python script actually doesn't check whether its dependencies are built. It this what could be expected? I am just using it in a wrong way?





---
[Visit Topic](https://discourse.ros.org/t/questions-on-ament-ament-py-ament-cmake-and-dependency-resolvers/4065/1) or reply to this email to respond.




More information about the ros-users mailing list