ros-visualization / rqt_image_view

http://wiki.ros.org/rqt_image_view
25 stars 59 forks source link

rqt_image_view does not load librqt_image_view.so on Ubuntu 18.04 #48

Open dvillevald opened 3 years ago

dvillevald commented 3 years ago

I am having issue running rqt_image_view on Ubuntu 18.04 with ROS Melodic. I got the following error while library librqt_image_view.so is present. Appreciate any suggestions.

$ rqt_image_view /rgb_camera/image_raw

[ERROR] [1609309685.178914800]: Failed to load nodelet [rqt_image_view/ImageView_0] of type [rqt_image_view/ImageView]: Failed to load library /opt/ros/melodic/lib//librqt_image_view.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 = libpng12.so.0: cannot open shared object file: No such file or directory) RosPluginlibPluginProvider::load_explicit_type(rqt_image_view/ImageView) failed creating instance PluginManager._load_plugin() could not load plugin "rqt_image_view/ImageView": RosPluginlibPluginProvider.load() could not load plugin "rqt_image_view/ImageView" terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector >' pure virtual method called terminate called recursively Aborted (core dumped)