Hello,
I'm trying to install Gazebo, preferably version 2. I have tried installing both version 2 and version 7 and they both give the same error (both when running command gazebo and command gzserver)
> gazebo
terminate called after throwing an instance of 'Ogre::IOException'
what(): OGRE EXCEPTION(0:IOException): Could create output files in the given shader cache path '/tmp/gazebo-....-rtshaderlibcache/ in ShaderGenerator::setShaderCachePath at /build/buildd/ogre-1.8-1.8.1+dfsg/Components/RTShaderSystem/src/OgreShaderGenerator.cpp (line 1382)
terminate called after throwing an instance of 'Ogre::IOException'
what(): OGRE EXCEPTION(0:IOException): Could create output files in the given shader cache path '/tmp/gazebo-...-rtshaderlibcache/ in ShaderGenerator::setShaderCachePath at /build/buildd/ogre-1.8-1.8.1+dfsg/Components/RTShaderSystem/src/OgreShaderGenerator.cpp (line 1382)> gzserver
terminate called after throwing an instance of 'Ogre::IOException'
what(): OGRE EXCEPTION(0:IOException): Could create output files in the given shader cache path '/tmp/gazebo-...-rtshaderlibcache/ in ShaderGenerator::setShaderCachePath at /build/buildd/ogre-1.8-1.8.1+dfsg/Components/RTShaderSystem/src/OgreShaderGenerator.cpp (line 1382)
Aborted (core dumped)
To install Gazebo2 I simply ran
> sudo aptitude install ros-indigo-desktop-full
Then I uninstalled the whole thing with
> sudo apt-get remove ros-indigo-*
> sudo apt-get remove gazebo*
> sudo apt-get remove libogre-1.8*
And for the grand finale I installed Gazebo straight from the website downloading from there.
As extra information, rviz works fine.
I have changed my graphics driver to the recommended by ubuntu - Nvidia v 352.63
Any help will be much appreciated.