From a77dec034fc156e8e46d8c53382ec0f2961a364c Mon Sep 17 00:00:00 2001 From: Herb Kuta Date: Fri, 29 Mar 2019 15:03:55 -0700 Subject: [PATCH] DRAFT {crystal} std-srvs-0.6.1.inc: Append target rosidl-typesupport-* to ROS_BUILD_DEPENDS Without the target rosidl-typesupport-{c,cpp}, ament finds the native packages and then fails to link (error: incompatible target) => append them to ROS_BUILD_DEPENDS. Version-specific because might be fixed in new version. --- includes-ros2/common-interfaces/std-srvs-0.6.1.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/includes-ros2/common-interfaces/std-srvs-0.6.1.inc b/includes-ros2/common-interfaces/std-srvs-0.6.1.inc index 5a88e8a..38d31a7 100644 --- a/includes-ros2/common-interfaces/std-srvs-0.6.1.inc +++ b/includes-ros2/common-interfaces/std-srvs-0.6.1.inc @@ -1,6 +1,10 @@ # Copyright (c) 2019 LG Electronics, Inc. +# Without the target rosidl-typesupport-{c,cpp}, ament finds the native packages and then fails to link (error: incompatible +# target). ROS_BUILD_DEPENDS += " \ fastcdr \ fastrtps \ + rosidl-typesupport-c \ + rosidl-typesupport-cpp \ "