The problem I am having is that, when I call a constructor for a class I have created I get the following error.
main.cpp:20: undefined reference to
including the cpp file causes the compiler to build that code as part of that file (which you should not do), what you need to do is compile the GameObject/StaticObject.cpp file as its own object, and link the 2 objects together.