gazebosim / gz-sim

Open source robotics simulator. The latest version of Gazebo.
https://gazebosim.org
Apache License 2.0
689 stars 264 forks source link

[GUI] [Err] [RenderEngineManager.cc:461]Failed to load plugin [ogre2] : couldn't find shared library. #2110

Open krixdina opened 1 year ago

krixdina commented 1 year ago

Environment

I just want to spawn a empty world to get familiar with Gazebo,but a weird problem coming up 截图 2023-09-01 20-16-10

so , what to do to solve this problem

iche033 commented 1 year ago

do you have libogre-next-dev installed? For fotress, check that the version ogre should be 2.2.5. If you don't, install the package and do a clean rebuild of ign-rendering

krixdina commented 1 year ago

do you have libogre-next-dev installed? For fotress, check that the version ogre should be 2.2.5. If you don't, install the package and do a clean rebuild of ign-rendering

yes , I'd checked out the install and version of package libogre-next-dev , and do a clean rebuild of ign-rendering ,but also something weird happened different from the proceding error Screenshot from 2023-09-02 16-31-09

when try to deal with this problem , I switch to this path /home/kristina/gz_ws/install/lib/ign-rendering-6/engine-plugins there obviously lying the plugin libignition-rendering-ogre2.so,why can't load this plugin image

iche033 commented 1 year ago

looks like the problem is with the libOgreHlmsPbs_d.so.2.2.7. The _d suffix suggests that it's looking for the debug version of the library and it probably does not exist on your system. It's also looking for version 2.2.7 instead of 2.2.5 (2.2.5 is the version in our package repo). I think you may have installed ogre from source in debug mode at point in time? You may have to remove other versions of ogre installed in your system