Skip to content

Conversation

FelipeGdM
Copy link
Contributor

@FelipeGdM FelipeGdM commented Dec 8, 2023

This PR fixes the problem described here #711

The solution was found after some discussion at ros2/geometry2#639

When loading the rviz plugin, the system crashes with a error translated to

undefined symbol: tf2::fromMsg(geometry_msgs::msg::Quaternion_<std::allocator<void> > const&, tf2::Quaternion&)

It was due to the definition of fromMsg being missing. This function is declared at tf2_geometry_msgs/tf2_geometry_msgs.hpp, so this file is included and tf2_geometry_msgs is linked to our plugin

Closes #711


This change is Reviewable

@FelipeGdM FelipeGdM force-pushed the fix/from_msg_undefined branch from d886824 to ab9664d Compare December 8, 2023 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Linker error librviz_carla_plugin.so: undefined symbol: fromMsg
1 participant