Rviz install error :(

asked 2021-06-17 03:00:50 -0500

arif gravatar image

/usr/bin/ld: librviz_default_plugins.so: undefined reference to std::chrono::time_point<std::chrono::_V2::system_clock, std::chrono::duration<long, std::ratio<1l, 1000000000l> > > tf2::getTimestamp<geometry_msgs::msg::PoseStamped_<std::allocator<void> > >(geometry_msgs::msg::PoseStamped_<std::allocator<void> > const&)' /usr/bin/ld: librviz_default_plugins.so: undefined reference tostd::__cxx11::basic_string<char, std::char_traits<char="">, std::allocator<char> > tf2::getFrameId<geometry_msgs::msg::posestamped_<std::allocator<void> > >(geometry_msgs::msg::PoseStamped_<std::allocator<void> > const&)' /usr/bin/ld: librviz_default_plugins.so: undefined reference to void tf2::doTransform<geometry_msgs::msg::PoseStamped_<std::allocator<void> > >(geometry_msgs::msg::PoseStamped_<std::allocator<void> > const&, geometry_msgs::msg::PoseStamped_<std::allocator<void> >&, geometry_msgs::msg::TransformStamped_<std::allocator<void> > const&)' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/ros_image_texture_test.dir/build.make:233: ros_image_texture_test] Error 1 make[1]: *** [CMakeFiles/Makefile2:236: CMakeFiles/ros_image_texture_test.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... /usr/bin/ld: librviz_default_plugins.so: undefined reference tostd::chrono::time_point<std::chrono::_v2::system_clock, std::chrono::duration<long,="" std::ratio&lt;1l,="" 1000000000l=""> > > tf2::getTimestamp<geometry_msgs::msg::posestamped_<std::allocator<void> > >(geometry_msgs::msg::PoseStamped_<std::allocator<void> > const&)' /usr/bin/ld: librviz_default_plugins.so: undefined reference to std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > tf2::getFrameId<geometry_msgs::msg::PoseStamped_<std::allocator<void> > >(geometry_msgs::msg::PoseStamped_<std::allocator<void> > const&)' /usr/bin/ld: librviz_default_plugins.so: undefined reference tovoid tf2::doTransform<geometry_msgs::msg::posestamped_<std::allocator<void> > >(geometry_msgs::msg::PoseStamped_<std::allocator<void> > const&, geometry_msgs::msg::PoseStamped_<std::allocator<void> >&, geometry_msgs::msg::TransformStamped_<std::allocator<void> > const&)' collect2: error: ld returned 1 exit status make[2]: * [CMakeFiles/point_display_test.dir/build.make:233: point_display_test] Error 1 make[1]: * [CMakeFiles/Makefile2:266: CMakeFiles/point_display_test.dir/all] Error 2

make: * [Makefile:141: all] Error 2

Failed <<< rviz_default_plugins [14.7s, exited with code 2]

edit retag flag offensive close merge delete