에러.
[ERROR] [1650545114.645276854]: PluginlibFactory: The plugin for class 'moveit_rviz_plugin/HandEyeCalibration' failed to load. Error: Failed to load library /home/colson/catkin_ws/devel/lib/libmoveit_handeye_calibration_rviz_plugin.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = /lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.14' not found (required by /home/colson/catkin_ws/devel/lib/libmoveit_handeye_calibration_rviz_plugin.so))
발생
moveit_calibration gui 플러그인을 moveit에서 실행하려니 위 에러가 뜸
해결
위와 같은 에러가 떳는데 LD_LIBRARY_PATH 에 lib 경로를 추가해주면 실행된다.
export LD_LIBRARY_PATH=/home/colson/Qt5.14.2/5.14.2/gcc_64/lib/:${LD_LIBRARY_PATH}
또는 ~/.bashrc 에 추가해주면 된다.
export LD_LIBRARY_PATH=/home/colson/Qt5.14.2/5.14.2/gcc_64/lib/:$LD_LIBRARY_PATH
에러. [ERROR] [1650545114.645276854]: PluginlibFactory: The plugin for class 'moveit_rviz_plugin/HandEyeCalibration' failed to load. Error: Failed to load library /home/colson/catkin_ws/devel/lib/libmoveit_handeye_calibration_rviz_plugin.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = /lib/x86_64-linux-gnu/libQt5Core.so.5: version `Qt_5.14' not found (required by /home/colson/catkin_ws/devel/lib/libmoveit_handeye_calibration_rviz_plugin.so))
export LD_LIBRARY_PATH=/home/colson/Qt5.14.2/5.14.2/gcc_64/lib/:${LD_LIBRARY_PATH}
또는 ~/.bashrc 에 추가해주면 된다.export LD_LIBRARY_PATH=/home/colson/Qt5.14.2/5.14.2/gcc_64/lib/:$LD_LIBRARY_PATH