Closed
Description
rosidl_target_interfaces
was deprecated in favor of rosidl_get_typesupport_target
in ros2/rosidl#606, so the latter should be used in the "3.3 Link against the interface" section of the "Expanding on ROS 2 interfaces" tutorial page.
The following change should suffice:
< rosidl_target_interfaces(publish_address_book
< ${PROJECT_NAME} "rosidl_typesupport_cpp")
---
> rosidl_get_typesupport_target(cpp_typesupport_target
> ${PROJECT_NAME} "rosidl_typesupport_cpp")
>
> target_link_libraries(publish_address_book "${cpp_typesupport_target}")
Metadata
Metadata
Assignees
Labels
No labels