gz-sim icon indicating copy to clipboard operation
gz-sim copied to clipboard

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

Open krixdina opened this issue 10 months ago • 3 comments

Environment

  • OS Version: Ubuntu 22.04
  • build from source ,Fortress

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

krixdina avatar Sep 01 '23 12:09 krixdina

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

iche033 avatar Sep 01 '23 17:09 iche033

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

krixdina avatar Sep 02 '23 08:09 krixdina

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

iche033 avatar Sep 18 '23 20:09 iche033