setRenderQueueGroup(RENDER_QUEUE_OVERLAY) should be setRenderQueueGroup(Ogre::RENDER_QUEUE_OVERLAY)
Also in start code for .cpp
void swap(float& x, float& y) should be void IntermediateTutorial4::swap(float& x, float& y)