ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How do I fix this error message with Gazebo/Ogre plugin?

asked 2012-04-22 10:42:01 -0600

updated 2014-01-28 17:12:02 -0600

ngrennan gravatar image

How do I fix this error message?


Msg Waiting for master Msg Connected to gazebo master @ http://localhost:11345 Error [RenderEngine.cc:356] Unable to load Ogre Plugin[/usr/lib/OGRE/Plugin_CgProgramManager.so]...Skipping.


edit retag flag offensive close merge delete

4 Answers

Sort by ยป oldest newest most voted
0

answered 2012-07-02 21:47:57 -0600

updated 2012-07-02 23:13:55 -0600

Hi.

I am facing the same problem as described above:


Gazebo multi-robot simulator, version 1.0.1
Copyright (C) 2011 Nate Koenig, John Hsu, Andrew Howard, and contributors.
Released under the Apache 2 License.
http://gazebosim.org

Msg Waiting for master
Msg Connected to gazebo master @ http://localhost:11345
Error [RenderEngine.cc:356] Unable to load Ogre Plugin[/usr/lib/OGRE/Plugin_CgProgramManager.so]...Skipping.


I have already tried adding the ppa to ogre to source.list, and using apt-get manually reinstalling libogre and libogre-dev

This did not work, I am now stuck :/ I see this problem with 32bit and 64 bit installs of ubuntu 11.10 and 12.04 For all cases I have tried with the default nVidia driver installed. I have than updated to the newest nVidia driver, then faced another problem as glxinfo showed that 3d support was unavailable. the gazebo error then contained some major and minor fails when attempting to use glx.

according to NVidia, openGL support may require a restart after installing the new drivers, after having restarted, I end up with the same error as already shown.

glxgears runs as expected.

To test ogre is running I installed Tile Racer 0.7, which is based on ogre, and runs successfully.

The I moved my attention to the path the error mentions, and discovered that "Plugin_CgProgramManager.so" is not found in the OGRE lib. Apparently that is a known bug:
http://www.ogre3d.org/forums/viewtopic.php?f=1&t=63267 it is not in the ubuntu package libogre. this is because OGRE needs Nvidia Cg Toolkit to build CgProgramManager plugin.

sudo apt-get install cmake

Then Following:
building ogre

especially the part about dependencies will install nVidia libraries like the Cg toolkit. Will take you through the ogre build process.

After this process the file exists, but is located in /usr/local/lib/OGRE

I reinstalled gazebo after this, as I had tried a lot of other stuff that broke it. but it should be enough to reconfigure gazebo to look for ogre at the new installation location, or create a symlink or...

edit flag offensive delete link more
0

answered 2012-05-10 23:20:53 -0600

I have exactly the same problem, Is it something like we cannot use only gazebosim in ubuntu 11.10 ?

Or is it something to do with GPU configuration because i have heard gazebo looks for hard ware configuration for rendering graphics.

edit flag offensive delete link more
0

answered 2012-05-13 12:57:42 -0600

Roman Burdakov gravatar image

I had the same problem and I have managed to fix it by upgrading OGRE installation. I think, OGRE which was installed before was installed during gazebo simulator installation and for some reason it wasn't installed completely. Follow this instructions https://launchpad.net/~ogre-team/+archive/ogre to add new ppa for OGRE and install it. During installation a full version of OGRE will update what was installed before and you should be all set. At least this is how I solved exactly the same problem you had.

edit flag offensive delete link more
0

answered 2012-07-02 21:24:19 -0600

Hi. I am facing the same issue, and have tried updating ogre by adding the ppa, and manually reinstalling, both the libogre and the libogre-dev

however the gazebo error:
Error [RenderEngine.cc:356] Unable to load Ogre Plugin[/usr/lib/OGRE/Plugin_CgProgramManager.so]...Skipping.

still appears when i attempt to run the gzserver. I am stuck, and have had this issue with both ubuntu 11.10 and 12.04 (32 and 64 bit installs)

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-04-22 10:42:01 -0600

Seen: 2,508 times

Last updated: Jul 02 '12