failed to load rviz panel plugins in ROS2

asked 2020-08-04 06:33:51 -0500

ms.kataoka@gmail.com gravatar image

updated 2020-08-04 17:50:35 -0500

jayess gravatar image

Hi, I am try to developing rviz panel plugin in ROS2.
This is my repo : https://github.com/OUXT-Polaris/calib...
This plugin succeed to build, but when I try it to load this plugin on the rviz, this error shows on the rviz and failed to load plugins. Does anyone knows about how to solve this problem?

The class required for this panel, 'calibration_utils/CalibrationPanel', could not be loaded.
Error:
Failed to load library /home/masaya/workspace/robotx_setup/robotx_ws/install/calibration_utils/lib/libcalibration_utils.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 = /home/masaya/workspace/robotx_setup/robotx_ws/install/calibration_utils/lib/libcalibration_utils.so: undefined symbol: _ZTVN17calibration_utils16CalibrationPanelE)
edit retag flag offensive close merge delete