Starting rviz, failed to initialize ogre, cannot find RenderSystem_GL.so
Found an answer. See my answer below (guess I can't accept my own)
Setting up things on my (gentoo) desktop.
Command line output just about says everything:
$ rosrun rviz rviz Failed to initialize Ogre: OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library RenderSystem_GL. System Error: RenderSystem_GL.so: cannot open shared object file: No such file or directory in DynLib::load at /home/murph/ros/visualization_common/ogre/build/ogre_src_v1-7-1/OgreMain/src/OgreDynLib.cpp (line 91) [ERROR] [1298662054.238455770]: Caught exception while loading: OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library RenderSystem_GL. System Error: RenderSystem_GL.so: cannot open shared object file: No such file or directory in DynLib::load at /home/murph/ros/visualization_common/ogre/build/ogre_src_v1-7-1/OgreMain/src/OgreDynLib.cpp (line 91) murph@murph ~/ros $ find . | grep -i RenderSystem_GL.so ./visualization_common/ogre/ogre/lib/OGRE/RenderSystem_GL.so ./visualization_common/ogre/build/ogre_src_v1-7-1/build/lib/RenderSystem_GL.so
My hardware: 01:00.0 VGA compatible controller: ATI Technologies Inc RV620 [FirePro 2260]
And my drivers: x11-drivers/xf86-video-ati version 6.13.1
[edit] I found this: https://code.ros.org/gf/project/ros/m...
Which sounds similar. I copied RenderSystem_GL.so, Plugin_OctreeSceneManager.so, and Plugin_ParticleFX.so up a folder as indicator (one by one as they were pointed out as missing), but now it cannot find Plugin_CgProgramManager.so which I do not have anywhere.
[edit 2] When doing 'make' after 'make wipe' on the ogre subtree, I see this:
----------------------------------------------------------------------------- -- The following OPTIONAL packages could NOT be located on your system. -- Consider installing them to enable more features from this software. + OpenGL ES: Support for the OpenGL ES 1.x render system <http: www.khronos.org="" opengles=""/> + cg: C for graphics shader language <http: developer.nvidia.com="" object="" cg_toolkit.html=""> + POCO: POCO framework <http: pocoproject.org=""/> + tbb: Threading Building Blocks <http: www.threadingbuildingblocks.org=""/> + Doxygen: Tool for building API documentation <http: doxygen.org=""> + CppUnit: Library for performing unit tests <http: cppunit.sourceforge.net=""> -----------------------------------------------------------------------------
Notice that cg is included there. So perhaps the configure scripts can't find my Cg libraries (they are installed)? I'm no cmake wizard, though.