I am getting the linker error
Code:
/var/tmp//ccyucL5u.o(.text+0x8d): In function `jp::SplashState::SplashState(std::string, int*, std::string)':
: undefined reference to `jp::State::~State()'
/var/tmp//ccyucL5u.o(.text+0x135): In function `jp::SplashState::SplashState(std::string, int*, std::string)':
: undefined reference to `jp::State::~State()'
/var/tmp//ccyucL5u.o(.text+0x1ae): In function `jp::SplashState::~SplashState()':
: undefined reference to `jp::State::~State()'
/var/tmp//ccyucL5u.o(.text+0x1ca): In function `jp::SplashState::~SplashState()':
: undefined reference to `jp::State::~State()'
/var/tmp//ccyucL5u.o(.text+0x24e): In function `jp::SplashState::~SplashState()':
: undefined reference to `jp::State::~State()'
/var/tmp//ccyucL5u.o(.text+0x26a): more undefined references to `jp::State::~State()' follow
/var/tmp//ccyucL5u.o(.gnu.linkonce.r._ZTVN2jp11SplashStateE+0x28): undefined reference to `jp::SplashState::Pause()'
/var/tmp//ccyucL5u.o(.gnu.linkonce.t._ZN2jp5StateC2ESsPi+0xf): In function `jp::State::State(std::string, int*)':
: undefined reference to `vtable for jp::State'
/var/tmp//ccyucL5u.o(.gnu.linkonce.r._ZTIN2jp11SplashStateE+0x8): undefined reference to `typeinfo for jp::State'
I have four source files located at Index of /~poseidon/test
I deleted all files that seemed not relevant and tpedefed my App class into an int so that I didn't have to include that either.