ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

moveit_benchmark_gui compile error

asked 2016-04-05 06:38:51 -0500

lonewolf gravatar image

updated 2016-04-07 20:39:58 -0500

130s gravatar image

I am trying to compile moveit from the source. But when I try to compile moveit_benchmark_gui, I am getting a linker error as below.

[  5%] Building CXX object CMakeFiles/moveit_benchmark_gui.dir/src/main_window.cpp.o
Linking CXX executable /home/lonewolf/workspace/ros/secondary_packages/devel_isolated/moveit_ros_benchmarks_gui/lib/moveit_ros_benchmarks_gui/moveit_benchmark_gui
CMakeFiles/moveit_benchmark_gui.dir/src/main_window.cpp.o: In function `benchmark_tool::MainWindow::updateGoalPoseMarkers(float, float)':
main_window.cpp:(.text+0x1167): undefined reference to `rviz::InteractiveMarker::update(float)'
main_window.cpp:(.text+0x11ab): undefined reference to `rviz::InteractiveMarker::update(float)'
main_window.cpp:(.text+0x11ca): undefined reference to `rviz::InteractiveMarker::update(float)'
main_window.cpp:(.text+0x11e9): undefined reference to `rviz::InteractiveMarker::update(float)'
CMakeFiles/moveit_benchmark_gui.dir/src/frame_marker.cpp.o: In function `benchmark_tool::FrameMarker::showDescription(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
frame_marker.cpp:(.text+0x5f6): undefined reference to `rviz::InteractiveMarker::processMessage(visualization_msgs::InteractiveMarker_<std::allocator<void> > const&)'
frame_marker.cpp:(.text+0x645): undefined reference to `rviz::InteractiveMarker::setPose(Ogre::Vector3, Ogre::Quaternion, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
frame_marker.cpp:(.text+0x66a): undefined reference to `rviz::InteractiveMarker::setShowDescription(bool)'
CMakeFiles/moveit_benchmark_gui.dir/src/frame_marker.cpp.o: In function `benchmark_tool::FrameMarker::setColor(float, float, float, float)':
frame_marker.cpp:(.text+0x7cc): undefined reference to `rviz::InteractiveMarker::processMessage(visualization_msgs::InteractiveMarker_<std::allocator<void> > const&)'
frame_marker.cpp:(.text+0x81b): undefined reference to `rviz::InteractiveMarker::setPose(Ogre::Vector3, Ogre::Quaternion, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
CMakeFiles/moveit_benchmark_gui.dir/src/frame_marker.cpp.o: In function `benchmark_tool::FrameMarker::setPose(Eigen::Transform<double, 3, 2, 0>&)':
frame_marker.cpp:(.text+0x1535): undefined reference to `rviz::InteractiveMarker::setPose(Ogre::Vector3, Ogre::Quaternion, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
CMakeFiles/moveit_benchmark_gui.dir/src/frame_marker.cpp.o: In function `benchmark_tool::FrameMarker::buildFrom(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, geometry_msgs::Pose_<std::allocator<void> > const&, double, std_msgs::ColorRGBA_<std::allocator<void> > const&)':
frame_marker.cpp:(.text+0x1f11): undefined reference to `rviz::InteractiveMarker::InteractiveMarker(Ogre::SceneNode*, rviz::DisplayContext*)'
frame_marker.cpp:(.text+0x1f87): undefined reference to `rviz::InteractiveMarker::processMessage(visualization_msgs::InteractiveMarker_<std::allocator<void> > const&)'
frame_marker.cpp:(.text+0x1f98): undefined reference to `rviz::InteractiveMarker::setShowVisualAids(bool)'
frame_marker.cpp:(.text+0x1fa6): undefined reference to `rviz::InteractiveMarker::setShowAxes(bool)'
frame_marker.cpp:(.text+0x1fb4): undefined reference to `rviz::InteractiveMarker::setShowDescription(bool)'
CMakeFiles/moveit_benchmark_gui.dir/src/frame_marker.cpp.o: In function `benchmark_tool::GripperMarker::buildFrom(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, geometry_msgs::Pose_<std::allocator<void> > const&, double, std_msgs::ColorRGBA_<std::allocator<void> > const&)':
frame_marker.cpp:(.text+0x382e): undefined reference to `rviz::InteractiveMarker::InteractiveMarker(Ogre::SceneNode*, rviz::DisplayContext*)'
frame_marker.cpp:(.text+0x38a2): undefined reference to `rviz::InteractiveMarker::processMessage(visualization_msgs::InteractiveMarker_<std::allocator<void> > const&)'
frame_marker.cpp:(.text+0x38b0): undefined reference to `rviz::InteractiveMarker::setShowAxes(bool)'
frame_marker.cpp:(.text+0x38c1): undefined reference to `rviz::InteractiveMarker::setShowVisualAids(bool)'
frame_marker.cpp:(.text+0x38cf): undefined reference to `rviz::InteractiveMarker::setShowDescription ...
(more)
edit retag flag offensive close merge delete

Comments

@lonewolf: please accept the answer by @130s by ticking the checkmark next to it.

gvdhoorn gravatar image gvdhoorn  ( 2016-04-09 03:43:47 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-04-07 20:44:10 -0500

130s gravatar image

updated 2016-04-08 14:41:21 -0500

There's a related ticket. As mentioned in the ticket, with the latest commit you should be able to compile.

edit flag offensive delete link more

Comments

Yup.. I just found that and was able to compile with the latest version of rviz.

lonewolf gravatar image lonewolf  ( 2016-04-08 12:22:21 -0500 )edit

Question Tools

Stats

Asked: 2016-04-05 06:38:51 -0500

Seen: 310 times

Last updated: Apr 08 '16