I'm trying to build the dependencies for gym-gazebo on Ubuntu 14.04 using the automated script. At line 104 after the command catkin_make -j 1 is run, builts goes up to 59% then gives the error below. After that installation is stopped.

It seems that the problem is related with the compiler. Because the compiler returns an error with UniquePtr which is not related with ROS, Gazebo or our tools.

In file included from /opt/ros/indigo/include/pluginlib/class_loader.h:323:0,
from /home/viki/gym-gazebo/gym_gazebo/envs/installation/catkin_ws/src/mavros/mavros/include/mavros/mavros.h:22,
from /home/viki/gym-gazebo/gym_gazebo/envs/installation/catkin_ws/src/mavros/mavros/src/lib/mavros.cpp:14:
/opt/ros/indigo/include/pluginlib/class_loader_imp.h:157:3: error: ‘UniquePtr’ does not name a type
UniquePtr<T> ClassLoader<T>::createUniqueInstance(const std::string& lookup_name)
^

I had a similar problem last night after failing to grok the Docker paradigm. It ended up being a bluetooth driver issue solved with sudo apt-get install stack. Google the error and you'll find the exact command to use. There were a few others with the wiimote I had to correct as well.