Change b2World &m_World to *m_World in GraphicalObject. Accordingly, change constructors of all the classes that are inherited from GraphicalObject and Wall class. Add implementation of the Wall class.