Cannot launch Gazebo 2 or 7
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.
On permissions: I didn't find any permissions issues, the folder is owned by my user and it has rw permissions for the owner.
C\m@hwpc:/tmp/gazebo/build$ ls -l /tmp
total ...
drwx------ 2 C\m C\usuarios^d 4096 jun 15 14:08 gazebo-C\m-rtshaderlibcache
As a note, the output says that it COULD create the output files. This in general is not a problem, didn't understand the message.