image_transport_plugins icon indicating copy to clipboard operation
image_transport_plugins copied to clipboard

Linking Libraries image_transport_plugins on foxy

Open AlexandrusConstantus opened this issue 5 years ago • 0 comments

Environment: ros2/foxy, latest upgrades as of writing A project with: ament_target_dependencies(${TARGET_NAME} rclcpp std_msgs sensor_msgs OpenCV jpeg cv_bridge image_transport compressed_image_transport)

failed to link against compressed_image_transport::CompressedSubscriber's constructor/destructor.

wild-fix: target_link_libraries(${TARGET_NAME} "/opt/ros/foxy/lib/libcompressed_image_transport.so")

Searched for any hints within the cmake files and found that the cmake-image-transportConfig.cmake has no mention of a library.

Am I missing something obvious?

AlexandrusConstantus avatar Jan 04 '21 20:01 AlexandrusConstantus