Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix fromMsg missing symbol rviz plugin error #713

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

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