M
michael.goossens
1>IntroState.obj : error LNK2019: unresolved external symbol "public:
void __thiscall GameState:ushState(class GameState *)" (?
pushState@GameState@@QAEXPAV1@@Z) referenced in function "public:
virtual void __thiscall IntroState::keyReleased(class OIS::KeyEvent
const &)" (?keyReleased@IntroState@@UAEXABVKeyEvent@OIS@@@Z)
1>bin\Debug\SparkRushBuild.exe : fatal error LNK1120: 1 unresolved
externals
Any idea of what the problem might be? Can't post all the code because
its alot but will put up the code where the error occurs:
void IntroState::keyReleased(const OIS::KeyEvent &e) {
if(e.key == OIS::KC_ESCAPE)
this->requestShutdown();
if(e.key == OIS::KC_RETURN)
this->pushState(PlayState::getSingletonPtr());
}
pushState is actually a member function in the super class and takes
arguments of the type "GameState *"
void __thiscall GameState:ushState(class GameState *)" (?
pushState@GameState@@QAEXPAV1@@Z) referenced in function "public:
virtual void __thiscall IntroState::keyReleased(class OIS::KeyEvent
const &)" (?keyReleased@IntroState@@UAEXABVKeyEvent@OIS@@@Z)
1>bin\Debug\SparkRushBuild.exe : fatal error LNK1120: 1 unresolved
externals
Any idea of what the problem might be? Can't post all the code because
its alot but will put up the code where the error occurs:
void IntroState::keyReleased(const OIS::KeyEvent &e) {
if(e.key == OIS::KC_ESCAPE)
this->requestShutdown();
if(e.key == OIS::KC_RETURN)
this->pushState(PlayState::getSingletonPtr());
}
pushState is actually a member function in the super class and takes
arguments of the type "GameState *"