OS: win32
VERSION: cocos2d-2.1rc0-x-2.1.3
PLATFORM: win32
class GameMediator : public cocos2d::CCObject {
public:
~GameMediator();
bool init();
static GameMediator* sharedMediator();
CC_SYNTHESIZE_RETAIN(HexDefense*, *gameLayer, GameLayer);
//CC_SYNTHESIZE_RETAIN;
CC_SYNTHESIZE_RETAIN;
CC_SYNTHESIZE_RETAIN;
CC_SYNTHESIZE_RETAIN;
CC_SYNTHESIZE_RETAIN;
CC_SYNTHESIZE_RETAIN;
CC_SYNTHESIZE_RETAIN;
CC_SYNTHESIZE_RETAIN;
CC_PROPERTY_PASS_BY_REF;
void setStartPoint;
CCPoint getStartPoint;
private:
CCPoint*startPoint;
};
get error message:
1>GameMediator.obj : error LNK2001: 无法解析的外部符号 “public: virtual void *thiscall GameMediator::setOffset"
1>GameMediator.obj : error LNK2001: 无法解析的外部符号 "public: virtual class cocos2d::CCPoint const &*thiscall GameMediator::getOffset(void)” (?getOffset@GameMediator@UAEABVCCPoint
cocos2d@@XZ)
1>J:2d-2.1rc0-x-2.1.3\Release.win32\TowerDefense.exe : fatal error LNK1120: 2 个无法解析的外部命令
Thanks.