Robotics StackExchange | Archived questions

Moveit_visual _tools installation error on foxy

This it the error message I get when I run the command

colcon build --event-handlers desktopnotification- status- --cmake-args -DCMAKEBUILD_TYPE=Release

output

Starting >>> graph_msgs

Starting >>> rvizvisualtools

Finished <<< graph_msgs [0.51s]

Finished <<< rvizvisualtools [0.57s]

Starting >>> moveitvisualtools

--- stderr: moveitvisualtools

/usr/bin/ld: /opt/ros/foxy/lib/librvizcommon.so: undefined reference to `QTreeView::verticalScrollbarValueChanged(int)@Qt5'

/usr/bin/ld: /opt/ros/foxy/lib/librvizdefaultplugins.so: undefined reference to `qtversiontag@Qt_5.12'

/usr/bin/ld: /opt/ros/foxy/lib/librvizcommon.so: undefined reference to `QTreeWidgetItem::setHidden(bool)@Qt5'

/usr/bin/ld: /opt/ros/foxy/lib/librvizcommon.so: undefined reference to `QAbstractItemView::eventFilter(QObject, QEvent)@Qt5'

collect2: error: ld returned 1 exit status

make[2]: * [CMakeFiles/moveitvisualtoolsdemo.dir/build.make:427: moveitvisualtoolsdemo] Error 1

make[1]: * [CMakeFiles/Makefile2:80: CMakeFiles/moveitvisualtools_demo.dir/all] Error 2

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

Failed <<< moveitvisualtools [0.90s, exited with code 2]

Summary: 2 packages finished [1.71s]

1 package failed: moveitvisualtools

1 package had stderr output: moveitvisualtools

1 package not processed

How do I resolve this?

Asked by xycotyco on 2023-02-08 00:20:38 UTC

Comments

Answers