不知道有没有人遇到这样的情况:
在用ccTouchesEnded(CCSet* pTouches, CCEvent* pEvent)ccTouchesBegan()ccTouchesMoved()
在vs2008环境下,就会提示
error LNK2001: unresolved external symbol "__declspec(dllimport) public: class std::_Tree_const_iterator<class std::_Tree_val<class std::_Tset_traits<class cocos2d::CCObject *,struct std::less<class cocos2d::CCObject *>,class std::allocator<class cocos2d::CCObject *>,0> > > _thiscall cocos2d::CCSet::begin(void)" (%url%QAE?AV?_Tree_const_iterator@V?_Tree_val@V?$_Tset_traits@PAVCCObject@cocos2d@std@4stdstdstd)
连接错误。
而在vs2010中却不会出现这个问题。这是何解呢?
ps:我用到是比较老的版本:cocos2d-1.0.1-x-0.9.2