我在程序中引用了这个方法,但是编译报错:
3>WarShip.obj : error LNK2019: 无法解析的外部符号 “__declspec(dllimport) public: bool __thiscall cocos2d::CCNode::isScheduled(void (__thiscall cocos2d::CCObject::*)(float))” (_imp?isScheduled@CCNode@cocos2d@@QAE_NP8CCObject@2@AEXM@Z@Z),该符号在函数 “protected: void __thiscall WarShip::coolBombs(float)” (?coolBombs@WarShip@@IAEXM@Z) 中被引用
3>D:cocos2d-xDebug.win32submairne.win32.exe : fatal error LNK1120: 1 个无法解析的外部命令
求教是怎么回事啊?