cocos2d-x 2.2.1编译报错

Undefined symbols for architecture i386:

"cocos2d::CCDictionary::valueForKey(std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char> > const&)",referenced from:

LoginLayer::NetLoginBack_Reg(cocos2d::CCNode*,void*) in LoginLayer.o

LoginLayer::quiLoginBack_Reg(cocos2d::CCNode*,void*) in LoginLayer.o

WelcomeScene::LoginCallBack(cocos2d::CCNode*,void*) in WelcomeScene.o

"cocos2d::CCDictionary::objectForKey(std::__1::basic_string<char,referenced from:

cocos2d::extension::CCBAnimationManager::getBaseValue(cocos2d::CCNode*,char const*) in CCBAnimationManager.o

cocos2d::extension::CCBAnimationManager::actionForCallbackChannel(cocos2d::extension::CCBSequenceProperty*) in CCBAnimationManager.o

cocos2d::extension::CCBAnimationManager::runAnimationsForSequenceIdTweenDuration(int,float) in CCBAnimationManager.o

cocos2d::extension::ActionManager::getActionByName(char const*,char const*) in CCActionManager.o

cocos2d::extension::CCArmatureAnimation::play(char const*,int,int) in CCArmatureAnimation.o

cocos2d::extension::CCArmature::addBone(cocos2d::extension::CCBone*,char const*) in CCArmature.o

cocos2d::extension::CCArmature::getBone(char const*) const in CCArmature.o

...

"cocos2d::CCDictionary::removeObjectForKey(std::__1::basic_string<char,referenced from:

cocos2d::extension::CCArmature::removeBone(cocos2d::extension::CCBone*,bool) in CCArmature.o

cocos2d::extension::CCArmatureDataManager::removeArmatureData(char const*) in CCArmatureDataManager.o

cocos2d::extension::CCArmatureDataManager::removeAnimationData(char const*) in CCArmatureDataManager.o

cocos2d::extension::CCArmatureDataManager::removeTextureData(char const*) in CCArmatureDataManager.o

"cocos2d::CCDictionary::setObject(cocos2d::CCObject*,std::__1::basic_string<char,referenced from:

cocos2d::extension::CCBAnimationManager::setBaseValue(cocos2d::CCObject*,cocos2d::CCNode*,char const*) in CCBAnimationManager.o

cocos2d::extension::CCBAnimationManager::setCallFunc(cocos2d::CCCallFunc*,std::__1::allocator<char> > const&) in CCBAnimationManager.o

cocos2d::extension::CCBReader::readNodeGraph(cocos2d::CCNode*) in CCBReader.o

cocos2d::extension::CCNodeLoader::onHandlePropTypeFloat(cocos2d::CCNode*,char const*,float,cocos2d::extension::CCBReader*) in CCNodeLoader.o

cocos2d::extension::CCNodeLoader::onHandlePropTypeInteger(cocos2d::CCNode*,cocos2d::extension::CCBReader*) in CCNodeLoader.o

cocos2d::extension::CCNodeLoader::onHandlePropTypeCheck(cocos2d::CCNode*,bool,cocos2d::extension::CCBReader*) in CCNodeLoader.o

cocos2d::extension::CCNodeLoader::onHandlePropTypeString(cocos2d::CCNode*,cocos2d::extension::CCBReader*) in CCNodeLoader.o

...

"cocos2d::CCUserDefault::getStringForKey(char const*,referenced from:

Global::ReadVer() in Global.o

"cocos2d::CCUserDefault::setStringForKey(char const*,referenced from:

Global::WriteVer() in Global.o

cocos2d::extension::AssetsManager::deleteVersion() in AssetsManager.o

cocos2d::extension::AssetsManager::Helper::update(float) in AssetsManager.o

cocos2d::extension::AssetsManager::Helper::handleUpdateSucceed(cocos2d::extension::AssetsManager::_Message*) in AssetsManager.o

"cocos2d::CCString::create(std::__1::basic_string<char,referenced from:

cocos2d::extension::CCBAnimationManager::addDocumentCallbackName(std::__1::basic_string<char,std::__1::allocator<char> >) in CCBAnimationManager.o

cocos2d::extension::CCBAnimationManager::addDocumentOutletName(std::__1::basic_string<char,std::__1::allocator<char> >) in CCBAnimationManager.o

cocos2d::extension::CCBReader::readCallbackKeyframesForSeq(cocos2d::extension::CCBSequence*) in CCBReader.o

cocos2d::extension::CCBReader::readSoundKeyframesForSeq(cocos2d::extension::CCBSequence*) in CCBReader.o

cocos2d::extension::CCBReader::getOwnerCallbackNames() in CCBReader.o

cocos2d::extension::CCBReader::getOwnerOutletNames() in CCBReader.o

cocos2d::extension::CCControlButtonLoader::onHandlePropTypeString(cocos2d::CCNode*,cocos2d::extension::CCBReader*) in CCControlButtonLoader.o

...

"cocos2d::CCString::CCString(std::__1::basic_string<char,referenced from:

Global::InitDB() in Global.o

Global::SetLoginUIDToDB() in Global.o

Global::UID_IsExist(int) in Global.o

Global::AddUserToDB() in Global.o

"std::string::find_last_of(char const*,unsigned long) const",referenced from:

cocos2d::CCFileUtilsIOS::isFileExist(std::string const&) in libcocos2dx.a(CCFileUtilsIOS.o)

cocos2d::CCLabelAtlas::initWithString(char const*,char const*) in libcocos2dx.a(CCLabelAtlas.o)

cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile(char const*) in libcocos2dx.a(CCSpriteFrameCache.o)

cocos2d::CCFileUtils::getPathForFilename(std::string const&,std::string const&,std::string const&) in libcocos2dx.a(CCFileUtils.o)

cocos2d::CCTMXMapInfo::startElement(void*,char const**) in libcocos2dx.a(CCTMXXMLParser.o)

"std::string::copy(char*,unsigned long,referenced from:

cocos2d::CCNotificationObserver::CCNotificationObserver(cocos2d::CCObject*,void (cocos2d::CCObject::*)(cocos2d::CCObject*),cocos2d::CCObject*) in libcocos2dx.a(CCNotificationCenter.o)

"std::string::find(char const*,referenced from:

cocos2d::CCBMFontConfiguration::parseInfoArguments(std::string) in libcocos2dx.a(CCLabelBMFont.o)

cocos2d::CCBMFontConfiguration::parseCommonArguments(std::string) in libcocos2dx.a(CCLabelBMFont.o)

cocos2d::CCBMFontConfiguration::parseCharacterDefinition(std::string,cocos2d::_BMFontDef*) in libcocos2dx.a(CCLabelBMFont.o)

cocos2d::CCBMFontConfiguration::parseKerningEntry(std::string) in libcocos2dx.a(CCLabelBMFont.o)

cocos2d::CCTextureCache::addImage(char const*) in libcocos2dx.a(CCTextureCache.o)

cocos2d::computeImageFormatType(std::string&) in libcocos2dx.a(CCTextureCache.o)

cocos2d::split(std::string,std::vector<std::string,std::allocator<std::string> >&) in libcocos2dx.a(CCNS.o)

...

"std::string::find(char,referenced from:

cocos2d::CCBMFontConfiguration::parseConfigFile(char const*) in libcocos2dx.a(CCLabelBMFont.o)

cocos2d::CCBMFontConfiguration::parseInfoArguments(std::string) in libcocos2dx.a(CCLabelBMFont.o)

cocos2d::CCBMFontConfiguration::parseCommonArguments(std::string) in libcocos2dx.a(CCLabelBMFont.o)

cocos2d::CCBMFontConfiguration::parseImageFileName(std::string,char const*) in libcocos2dx.a(CCLabelBMFont.o)

cocos2d::CCBMFontConfiguration::parseCharacterDefinition(std::string,cocos2d::_BMFontDef*) in libcocos2dx.a(CCLabelBMFont.o)

cocos2d::CCBMFontConfiguration::parseKerningEntry(std::string) in libcocos2dx.a(CCLabelBMFont.o)

cocos2d::CCTextFieldTTF::insertText(char const*,int) in libcocos2dx.a(CCTextFieldTTF.o)

...

"std::string::size() const",referenced from:

cocos2d::CCLabelTTF::setHorizontalAlignment(cocos2d::CCTextAlignment) in libcocos2dx.a(CCLabelTTF.o)

cocos2d::CCLabelTTF::setVerticalAlignment(cocos2d::CCVerticalTextAlignment) in libcocos2dx.a(CCLabelTTF.o)

cocos2d::CCLabelTTF::setDimensions(cocos2d::CCSize const&) in libcocos2dx.a(CCLabelTTF.o)

cocos2d::CCLabelTTF::setFontSize(float) in libcocos2dx.a(CCLabelTTF.o)

cocos2d::CCLabelTTF::setFontName(char const*) in libcocos2dx.a(CCLabelTTF.o)

cocos2d::CCTextureCache::addImage(char const*) in libcocos2dx.a(CCTextureCache.o)

cocos2d::CCTMXMapInfo::startElement(void*,char const**) in libcocos2dx.a(CCTMXXMLParser.o)

...

"std::string::c_str() const",referenced from:

cocos2d::CCLabelTTF::updateTexture() in libcocos2dx.a(CCLabelTTF.o)

cocos2d::CCLabelTTF::getString() in libcocos2dx.a(CCLabelTTF.o)

cocos2d::CCLabelTTF::description() in libcocos2dx.a(CCLabelTTF.o)

cocos2d::CCLabelTTF::getFontName() in libcocos2dx.a(CCLabelTTF.o)

cocos2d::CCMenuItemFont::fontName() in libcocos2dx.a(CCMenuItem.o)

cocos2d::CCMenuItemFont::initWithString(char const*,cocos2d::CCObject*,void (cocos2d::CCObject::*)(cocos2d::CCObject*)) in libcocos2dx.a(CCMenuItem.o)

cocos2d::CCMenuItemFont::recreateLabel() in libcocos2dx.a(CCMenuItem.o)

...

"std::string::empty() const",referenced from:

cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile(char const*) in libcocos2dx.a(CCSpriteFrameCache.o)

cocos2d::ZipFile::setFilter(std::string const&,cocos2d::ZipFilePrivate*) in libcocos2dx.a(ZipUtils.o)

cocos2d::ZipFile::getFileData(std::string const&,unsigned long*,cocos2d::ZipFilePrivate*) in libcocos2dx.a(ZipUtils.o)

"std::string::rfind(char,referenced from:

cocos2d::CCParticleSystem::initWithFile(char const*) in libcocos2dx.a(CCParticleSystem.o)

cocos2d::CCParticleSystem::initWithDictionary(cocos2d::CCDictionary*,char const*) in libcocos2dx.a(CCParticleSystem.o)

cocos2d::CCFileUtils::fullPathFromRelativeFile(char const*,char const*) in libcocos2dx.a(CCFileUtils.o)

"std::string::length() const",referenced from:

cocos2d::CCFileUtilsIOS::isFileExist(std::string const&) in libcocos2dx.a(CCFileUtilsIOS.o)

cocos2d::CCDictionary::setObject(cocos2d::CCObject*,std::string const&) in libcocos2dx.a(CCDictionary.o)

cocos2d::CCDictionary::removeObjectForKey(std::string const&) in libcocos2dx.a(CCDictionary.o)

cocos2d::CCLabelAtlas::updateAtlasValues() in libcocos2dx.a(CCLabelAtlas.o)

cocos2d::CCBMFontConfiguration::parseConfigFile(char const*) in libcocos2dx.a(CCLabelBMFont.o)

cocos2d::CCSpriteFrame::getTexture() in libcocos2dx.a(CCSpriteFrame.o)

cocos2d::CCTextFieldTTF::deleteBackward() in libcocos2dx.a(CCTextFieldTTF.o)

...

"std::string::substr(unsigned long,char const*) in libcocos2dx.a(CCLabelAtlas.o)

cocos2d::CCBMFontConfiguration::parseConfigFile(char const*) in libcocos2dx.a(CCLabelBMFont.o)

cocos2d::CCBMFontConfiguration::parseInfoArguments(std::string) in libcocos2dx.a(CCLabelBMFont.o)

cocos2d::CCBMFontConfiguration::parseCommonArguments(std::string) in libcocos2dx.a(CCLabelBMFont.o)

cocos2d::CCBMFontConfiguration::parseImageFileName(std::string,cocos2d::_BMFontDef*) in libcocos2dx.a(CCLabelBMFont.o)

...

"std::string::compare(char const*) const",referenced from:

cocos2d::CCLabelTTF::setString(char const*) in libcocos2dx.a(CCLabelTTF.o)

cocos2d::CCLabelTTF::setFontName(char const*) in libcocos2dx.a(CCLabelTTF.o)

bool std::operator==<char,std::char_traits<char>,std::allocator<char> >(std::basic_string<char,std::allocator<char> > const&,char const*) in libcocos2dx.a(CCLabelBMFont.o)

bool std::operator==<char,std::allocator<char> >(char const*,std::basic_string<char,std::allocator<char> > const&) in libcocos2dx.a(CCTMXTiledMap.o)

bool std::operator!=<char,char const*) in libcocos2dx.a(CCParticleSystem.o)

bool std::operator==<char,char const*) in libcocos2dx.a(CCTMXObjectGroup.o)

bool std::operator==<char,char const*) in libcocos2dx.a(CCTMXLayer.o)

...

"std::string::compare(std::string const&) const",referenced from:

bool std::operator<<char,std::allocator<char> > const&) in libcocos2dx.a(CCSpriteFrameCache.o)

cocos2d::CCString::isEqual(cocos2d::CCObject const*) in libcocos2dx.a(CCString.o)

bool std::operator==<char,std::allocator<char> > const&) in libcocos2dx.a(CCFileUtils.o)

bool std::operator<<char,std::allocator<char> > const&) in libcocos2dx.a(CCTMXXMLParser.o)

bool std::operator==<char,std::allocator<char> > const&) in libcocos2dx.a(ZipUtils.o)

bool std::operator<<char,std::allocator<char> > const&) in libcocos2dx.a(ZipUtils.o)

...

"std::string::operator[](unsigned long) const",referenced from:

cocos2d::CCFileUtilsIOS::isFileExist(std::string const&) in libcocos2dx.a(CCFileUtilsIOS.o)

cocos2d::CCFileUtilsIOS::getFullPathForDirectoryAndFilename(std::string const&,std::string const&) in libcocos2dx.a(CCFileUtilsIOS.o)

cocos2d::CCFileUtils::isAbsolutePath(std::string const&) in libcocos2dx.a(CCFileUtils.o)

"std::basic_ios<char,std::char_traits<char> >::operator void*() const",referenced from:

cocos2d::CCTMXMapInfo::startElement(void*,char const**) in libcocos2dx.a(CCTMXXMLParser.o)

"std::allocator<char>::allocator()",referenced from:

cocos2d::CCLabelAtlas::CCLabelAtlas() in libcocos2dx.a(CCDirector.o)

cocos2d::CCLabelTTF::CCLabelTTF() in libcocos2dx.a(CCLabelTTF.o)

cocos2d::CCLabelTTF::initWithString(char const*,cocos2d::CCSize const&,cocos2d::CCTextAlignment,cocos2d::CCVerticalTextAlignment) in libcocos2dx.a(CCLabelTTF.o)

cocos2d::CCLabelTTF::setFontName(char const*) in libcocos2dx.a(CCLabelTTF.o)

___cxx_global_var_init3 in libcocos2dx.a(CCMenuItem.o)

cocos2d::CCMenuItemFont::CCMenuItemFont() in libcocos2dx.a(CCMenuItem.o)

cocos2d::CCLabelAtlas::CCLabelAtlas() in libcocos2dx.a(CCMenuItem.o)

...

"std::allocator<char>::~allocator()",cocos2d::CCVerticalTextAlignment) in libcocos2dx.a(CCLabelTTF.o)

cocos2d::CCLabelTTF::setFontName(char const*) in libcocos2dx.a(CCLabelTTF.o)

___cxx_global_var_init3 in libcocos2dx.a(CCMenuItem.o)

cocos2d::CCMenuItemFont::CCMenuItemFont() in libcocos2dx.a(CCMenuItem.o)

cocos2d::CCLabelAtlas::CCLabelAtlas() in libcocos2dx.a(CCMenuItem.o)

...

"std::string::at(unsigned long)",referenced from:

cocos2d::CCTextFieldTTF::deleteBackward() in libcocos2dx.a(CCTextFieldTTF.o)

"std::string::clear()",referenced from:

cocos2d::CCMenuItemFont::setFontName(char const*) in libcocos2dx.a(CCMenuItem.o)

cocos2d::CCLabelAtlas::setString(char const*) in libcocos2dx.a(CCLabelAtlas.o)

cocos2d::CCLabelAtlas::~CCLabelAtlas() in libcocos2dx.a(CCLabelAtlas.o)

cocos2d::CCBMFontConfiguration::~CCBMFontConfiguration() in libcocos2dx.a(CCLabelBMFont.o)

cocos2d::CCString::~CCString() in libcocos2dx.a(CCString.o)

cocos2d::CCString::initWithFormat(char const*,...) in libcocos2dx.a(CCString.o)

cocos2d::CCPrettyPrinter::setIndentLevel(int) in libcocos2dx.a(CCDataVisitor.o)

...

"std::string::erase(unsigned long,unsigned long)",referenced from:

cocos2d::CCBMFontConfiguration::parseConfigFile(char const*) in libcocos2dx.a(CCLabelBMFont.o)

cocos2d::CCTextFieldTTF::insertText(char const*,int) in libcocos2dx.a(CCTextFieldTTF.o)

cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile(char const*) in libcocos2dx.a(CCSpriteFrameCache.o)

"std::string::append(char const*)",referenced from:

cocos2d::CCFileUtilsIOS::getWritablePath() in libcocos2dx.a(CCFileUtilsIOS.o)

std::basic_string<char,std::allocator<char> > std::operator+<char,char const*) in libcocos2dx.a(CCLabelAtlas.o)

cocos2d::CCUserDefault::initXMLFilePath() in libcocos2dx.a(CCUserDefault-5490D2BEC9557540.o)

cocos2d::CCTextFieldTTF::setString(char const*) in libcocos2dx.a(CCTextFieldTTF.o)

std::basic_string<char,char const*) in libcocos2dx.a(CCRenderTexture.o)

cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile(char const*) in libcocos2dx.a(CCSpriteFrameCache.o)

cocos2d::CCFileUtils::getFileData(char const*,unsigned long*) in libcocos2dx.a(CCFileUtils.o)

...

"std::string::append(std::string const&)",referenced from:

std::basic_string<char,std::allocator<char> > const&) in libcocos2dx.a(CCFileUtilsIOS.o)

cocos2d::CCTextFieldTTF::insertText(char const*,int) in libcocos2dx.a(CCTextFieldTTF.o)

std::basic_string<char,std::allocator<char> > const&) in libcocos2dx.a(CCParticleSystem.o)

std::basic_string<char,std::allocator<char> > const&) in libcocos2dx.a(CCFileUtils.o)

std::basic_string<char,std::allocator<char> > const&) in libcocos2dx.a(CCTMXXMLParser.o)

"std::string::assign(char const*)",referenced from:

cocos2d::CCComponent::setName(char const*) in libcocos2dx.a(CCComponent.o)

"std::basic_string<char,std::allocator<char> >::basic_string(char const*,std::allocator<char> const&)",cocos2d::CCVerticalTextAlignment) in libcocos2dx.a(CCLabelTTF.o)

cocos2d::CCLabelTTF::setFontName(char const*) in libcocos2dx.a(CCLabelTTF.o)

___cxx_global_var_init3 in libcocos2dx.a(CCMenuItem.o)

cocos2d::CCMenuItemFont::CCMenuItemFont() in libcocos2dx.a(CCMenuItem.o)

cocos2d::CCLabelAtlas::CCLabelAtlas() in libcocos2dx.a(CCMenuItem.o)

...

"std::basic_string<char,referenced from:

cocos2d::CCTextFieldTTF::insertText(char const*,int) in libcocos2dx.a(CCTextFieldTTF.o)

cocos2d::CCTextFieldTTF::deleteBackward() in libcocos2dx.a(CCTextFieldTTF.o)

"std::basic_string<char,std::allocator<char> >::basic_string(std::string const&)",referenced from:

cocos2d::CCLabelTTF::_updateWithTextDefinition(cocos2d::_ccFontDefinition&,bool) in libcocos2dx.a(CCLabelTTF.o)

cocos2d::CCFileUtilsIOS::getFullPathForDirectoryAndFilename(std::string const&,std::string const&) in libcocos2dx.a(CCFileUtilsIOS.o)

std::basic_string<char,std::allocator<char> > const&) in libcocos2dx.a(CCFileUtilsIOS.o)

std::basic_string<char,char const*) in libcocos2dx.a(CCLabelAtlas.o)

cocos2d::CCBMFontConfiguration::parseConfigFile(char const*) in libcocos2dx.a(CCLabelBMFont.o)

cocos2d::CCUserDefault::getStringForKey(char const*,std::string const&) in libcocos2dx.a(CCUserDefault-5490D2BEC9557540.o)

cocos2d::CCTextFieldTTF::insertText(char const*,int) in libcocos2dx.a(CCTextFieldTTF.o)

...

"std::basic_string<char,std::allocator<char> >::basic_string(std::string const&,referenced from:

cocos2d::CCTMXMapInfo::textHandler(void*,int) in libcocos2dx.a(CCTMXXMLParser.o)

"std::basic_string<char,std::allocator<char> >::basic_string()",referenced from:

cocos2d::_ccFontDefinition::_ccFontDefinition() in libcocos2dx.a(CCLabelTTF.o)

cocos2d::CCComponent::CCComponent() in libcocos2dx.a(CCComponent.o)

cocos2d::CCFileUtilsIOS::isFileExist(std::string const&) in libcocos2dx.a(CCFileUtilsIOS.o)

cocos2d::_ccFontDefinition::_ccFontDefinition() in libcocos2dx.a(CCTexture2D.o)

cocos2d::CCActionTween::CCActionTween() in libcocos2dx.a(CCActionTween.o)

cocos2d::CCBMFontConfiguration::parseConfigFile(char const*) in libcocos2dx.a(CCLabelBMFont.o)

cocos2d::CCBMFontConfiguration::CCBMFontConfiguration() in libcocos2dx.a(CCLabelBMFont.o)

...

"std::basic_string<char,std::allocator<char> >::~basic_string()",referenced from:

cocos2d::CCLabelTTF::CCLabelTTF() in libcocos2dx.a(CCLabelTTF.o)

cocos2d::CCLabelTTF::~CCLabelTTF() in libcocos2dx.a(CCLabelTTF.o)

cocos2d::CCLabelTTF::setFontName(char const*) in libcocos2dx.a(CCLabelTTF.o)

cocos2d::_ccFontDefinition::_ccFontDefinition() in libcocos2dx.a(CCLabelTTF.o)

cocos2d::_ccFontDefinition::~_ccFontDefinition() in libcocos2dx.a(CCLabelTTF.o)

cocos2d::CCMenuItemFont::~CCMenuItemFont() in libcocos2dx.a(CCMenuItem.o)

___cxx_global_var_init3 in libcocos2dx.a(CCMenuItem.o)

___cxx_global_var_init3 in libcocos2dx.a(CCUserDefault-5490D2BEC9557540.o)

...

"std::string::operator=(char const*)",referenced from:

cocos2d::CCLabelTTF::setString(char const*) in libcocos2dx.a(CCLabelTTF.o)

cocos2d::CCMenuItemFont::setFontName(char const*) in libcocos2dx.a(CCMenuItem.o)

cocos2d::CCMenuItemFont::setFontNameObj(char const*) in libcocos2dx.a(CCMenuItem.o)

cocos2d::CCLabelAtlas::setString(char const*) in libcocos2dx.a(CCLabelAtlas.o)

cocos2d::CCActionTween::initWithDuration(float,float) in libcocos2dx.a(CCActionTween.o)

cocos2d::CCBMFontConfiguration::parseImageFileName(std::string,char const*) in libcocos2dx.a(CCLabelBMFont.o)

cocos2d::CCLabelBMFont::initWithString(char const*,cocos2d::CCPoint) in libcocos2dx.a(CCLabelBMFont.o)

...

"std::string::operator=(std::string const&)",referenced from:

cocos2d::CCLabelTTF::_prepareTextDefinition(bool) in libcocos2dx.a(CCLabelTTF.o)

cocos2d::_ccFontDefinition::operator=(cocos2d::_ccFontDefinition const&) in libcocos2dx.a(CCLabelTTF.o)

cocos2d::CCMenuItemFont::initWithString(char const*,void (cocos2d::CCObject::*)(cocos2d::CCObject*)) in libcocos2dx.a(CCMenuItem.o)

cocos2d::CCFileUtilsIOS::isFileExist(std::string const&) in libcocos2dx.a(CCFileUtilsIOS.o)

cocos2d::CCTexture2D::initWithString(char const*,cocos2d::CCVerticalTextAlignment) in libcocos2dx.a(CCTexture2D.o)

cocos2d::CCBMFontConfiguration::parseConfigFile(char const*) in libcocos2dx.a(CCLabelBMFont.o)

cocos2d::CCBMFontConfiguration::parseCommonArguments(std::string) in libcocos2dx.a(CCLabelBMFont.o)

...

"std::string::operator[](unsigned long)",referenced from:

cocos2d::CCTextureCache::addImage(char const*) in libcocos2dx.a(CCTextureCache.o)

cocos2d::CCFileUtils::setSearchResolutionsOrder(std::vector<std::string,std::allocator<std::string> > const&) in libcocos2dx.a(CCFileUtils.o)

cocos2d::CCFileUtils::setSearchPaths(std::vector<std::string,std::allocator<std::string> > const&) in libcocos2dx.a(CCFileUtils.o)

cocos2d::CCFileUtils::addSearchPath(char const*) in libcocos2dx.a(CCFileUtils.o)

cocos2d::CCFileUtils::removeSearchPath(char const*) in libcocos2dx.a(CCFileUtils.o)

cocos2d::CCTexturePVR::initWithContentsOfFile(char const*) in libcocos2dx.a(CCTexturePVR.o)

"std::string::operator+=(char const*)",referenced from:

cocos2d::CCUserDefault::initXMLFilePath() in libcocos2dx.a(CCUserDefault-5490D2BEC9557540.o)

cocos2d::CCFileUtils::setSearchResolutionsOrder(std::vector<std::string,std::allocator<std::string> > const&) in libcocos2dx.a(CCFileUtils.o)

cocos2d::CCFileUtils::addSearchPath(char const*) in libcocos2dx.a(CCFileUtils.o)

cocos2d::CCFileUtils::removeSearchPath(char const*) in libcocos2dx.a(CCFileUtils.o)

cocos2d::CCPrettyPrinter::setIndentLevel(int) in libcocos2dx.a(CCDataVisitor.o)

cocos2d::CCPrettyPrinter::visitObject(cocos2d::CCObject const*) in libcocos2dx.a(CCDataVisitor.o)

...

"std::string::operator+=(std::string const&)",referenced from:

cocos2d::CCFileUtils::getPathForFilename(std::string const&,std::string const&) in libcocos2dx.a(CCFileUtils.o)

cocos2d::CCFileUtils::fullPathFromRelativeFile(char const*,char const*) in libcocos2dx.a(CCFileUtils.o)

cocos2d::CCTMXMapInfo::textHandler(void*,int) in libcocos2dx.a(CCTMXXMLParser.o)

cocos2d::CCPrettyPrinter::visit(cocos2d::CCArray const*) in libcocos2dx.a(CCDataVisitor.o)

cocos2d::CCPrettyPrinter::visit(cocos2d::CCDictionary const*) in libcocos2dx.a(CCDataVisitor.o)

cocos2d::CCPrettyPrinter::visit(cocos2d::CCSet const*) in libcocos2dx.a(CCDataVisitor.o)

"std::_List_node_base::hook(std::_List_node_base*)",referenced from:

std::list<cocos2d::CCIMEDelegate*,std::allocator<cocos2d::CCIMEDelegate*> >::_M_insert(std::_List_iterator<cocos2d::CCIMEDelegate*>,cocos2d::CCIMEDelegate* const&) in libcocos2dx.a(CCIMEDispatcher.o)

std::list<cocos2d::CCDictElement*,std::allocator<cocos2d::CCDictElement*> >::_M_insert(std::_List_iterator<cocos2d::CCDictElement*>,cocos2d::CCDictElement* const&) in libcocos2dx.a(CCTextureCache.o)

"std::_List_node_base::unhook()",std::allocator<cocos2d::CCIMEDelegate*> >::_M_erase(std::_List_iterator<cocos2d::CCIMEDelegate*>) in libcocos2dx.a(CCIMEDispatcher.o)

"std::basic_stringstream<char,std::allocator<char> >::basic_stringstream(std::string const&,std::_Ios_Openmode)",char const**) in libcocos2dx.a(CCTMXXMLParser.o)

"std::basic_stringstream<char,std::allocator<char> >::~basic_stringstream()",char const**) in libcocos2dx.a(CCTMXXMLParser.o)

"std::ios_base::Init::Init()",referenced from:

___cxx_global_var_init3 in libcocos2dx.a(CCDirector.o)

___cxx_global_var_init3 in libcocos2dx.a(CCLabelBMFont.o)

___cxx_global_var_init3 in libcocos2dx.a(CCConfiguration.o)

___cxx_global_var_init3 in libcocos2dx.a(cocos2d.o)

"std::ios_base::Init::~Init()",referenced from:

___cxx_global_var_init3 in libcocos2dx.a(CCDirector.o)

___cxx_global_var_init3 in libcocos2dx.a(CCLabelBMFont.o)

___cxx_global_var_init3 in libcocos2dx.a(CCConfiguration.o)

___cxx_global_var_init3 in libcocos2dx.a(cocos2d.o)

___cxx_global_var_init3 in libcocos2dx.a(CCDirector.o)

___cxx_global_var_init3 in libcocos2dx.a(CCLabelBMFont.o)

___cxx_global_var_init3 in libcocos2dx.a(CCConfiguration.o)

___cxx_global_var_init3 in libcocos2dx.a(cocos2d.o)

___cxx_global_var_init3 in libcocos2dx.a(CCDirector.o)

___cxx_global_var_init3 in libcocos2dx.a(CCLabelBMFont.o)

___cxx_global_var_init3 in libcocos2dx.a(CCConfiguration.o)

___cxx_global_var_init3 in libcocos2dx.a(cocos2d.o)

___cxx_global_var_init3 in libcocos2dx.a(CCDirector.o)

___cxx_global_var_init3 in libcocos2dx.a(CCLabelBMFont.o)

___cxx_global_var_init3 in libcocos2dx.a(CCConfiguration.o)

___cxx_global_var_init3 in libcocos2dx.a(cocos2d.o)

"std::_Rb_tree_decrement(std::_Rb_tree_node_base*)",referenced from:

std::_Rb_tree_iterator<unsigned int>::operator--() in libcocos2dx.a(CCLabelBMFont.o)

std::_Rb_tree_iterator<std::string>::operator--() in libcocos2dx.a(CCSpriteFrameCache.o)

std::_Rb_tree_iterator<cocos2d::CCObject*>::operator--() in libcocos2dx.a(CCSet.o)

std::_Rb_tree_iterator<std::pair<std::string const,std::string> >::operator--() in libcocos2dx.a(CCFileUtils.o)

std::_Rb_tree_iterator<std::pair<std::string const,std::string> >::operator--() in libcocos2dx.a(CCTMXXMLParser.o)

std::_Rb_tree_iterator<std::pair<std::string const,cocos2d::ZipEntryInfo> >::operator--() in libcocos2dx.a(ZipUtils.o)

"std::_Rb_tree_increment(std::_Rb_tree_node_base const*)",referenced from:

std::_Rb_tree_const_iterator<cocos2d::CCObject*>::operator++() in libcocos2dx.a(CCScheduler.o)

std::_Rb_tree_const_iterator<cocos2d::CCObject*>::operator++() in libcocos2dx.a(CCTouchDispatcher.o)

std::_Rb_tree_const_iterator<cocos2d::CCObject*>::operator++() in libcocos2dx.a(CCSet.o)

std::_Rb_tree_const_iterator<cocos2d::CCObject*>::operator++() in libcocos2dx.a(CCActionManager.o)

std::_Rb_tree_const_iterator<cocos2d::CCObject*>::operator++() in libcocos2dx.a(CCDataVisitor.o)

"std::_Rb_tree_increment(std::_Rb_tree_node_base*)",referenced from:

std::_Rb_tree_iterator<cocos2d::CCObject*>::operator++(int) in libcocos2dx.a(CCSet.o)

std::_Rb_tree_iterator<std::pair<std::string const,cocos2d::ZipEntryInfo> >::operator++() in libcocos2dx.a(ZipUtils.o)

"std::__throw_length_error(char const*)",referenced from:

std::vector<float,std::allocator<float> >::reserve(unsigned long) in libcocos2dx.a(CCActionInterval.o)

std::vector<float,std::allocator<float> >::_M_insert_aux(__gnu_cxx::__normal_iterator<float*,std::vector<float,std::allocator<float> > >,float const&) in libcocos2dx.a(CCActionInterval.o)

std::vector<unsigned short,std::allocator<unsigned short> >::reserve(unsigned long) in libcocos2dx.a(CCLabelBMFont.o)

void std::vector<unsigned short,std::allocator<unsigned short> >::_M_range_insert<__gnu_cxx::__normal_iterator<unsigned short*,std::vector<unsigned short,std::allocator<unsigned short> > > >(__gnu_cxx::__normal_iterator<unsigned short*,std::allocator<unsigned short> > >,__gnu_cxx::__normal_iterator<unsigned short*,std::forward_iterator_tag) in libcocos2dx.a(CCLabelBMFont.o)

std::vector<unsigned short,std::allocator<unsigned short> >::_M_insert_aux(__gnu_cxx::__normal_iterator<unsigned short*,unsigned short const&) in libcocos2dx.a(CCLabelBMFont.o)

std::vector<std::string,std::allocator<std::string> >::_M_insert_aux(__gnu_cxx::__normal_iterator<std::string*,std::allocator<std::string> > >,std::string const&) in libcocos2dx.a(CCNS.o)

std::vector<unsigned int,std::allocator<unsigned int> >::_M_insert_aux(__gnu_cxx::__normal_iterator<unsigned int*,std::vector<unsigned int,std::allocator<unsigned int> > >,unsigned int const&) in libcocos2dx.a(CCMenu.o)

...

"std::__throw_out_of_range(char const*)",std::allocator<float> >::_M_range_check(unsigned long) const in libcocos2dx.a(CCActionInterval.o)

std::vector<cocos2d::CCPoint*,std::allocator<cocos2d::CCPoint*> >::_M_range_check(unsigned long) const in libcocos2dx.a(CCActionCatmullRom.o)

"std::_Rb_tree_rebalance_for_erase(std::_Rb_tree_node_base*,std::_Rb_tree_node_base&)",referenced from:

std::_Rb_tree<std::string,std::string,std::_Identity<std::string>,std::less<std::string>,std::allocator<std::string> >::erase(std::_Rb_tree_const_iterator<std::string>) in libcocos2dx.a(CCSpriteFrameCache.o)

std::_Rb_tree<cocos2d::CCObject*,std::_Identity<cocos2d::CCObject*>,std::less<cocos2d::CCObject*>,std::allocator<cocos2d::CCObject*> >::erase(std::_Rb_tree_iterator<cocos2d::CCObject*>) in libcocos2dx.a(CCSet.o)

"std::_Rb_tree_insert_and_rebalance(bool,std::_Rb_tree_node_base*,referenced from:

std::_Rb_tree<unsigned int,unsigned int,std::_Identity<unsigned int>,std::less<unsigned int>,std::allocator<unsigned int> >::_M_insert(std::_Rb_tree_node_base*,unsigned int const&) in libcocos2dx.a(CCLabelBMFont.o)

std::_Rb_tree<std::string,std::allocator<std::string> >::_M_insert(std::_Rb_tree_node_base*,std::string const&) in libcocos2dx.a(CCSpriteFrameCache.o)

std::_Rb_tree<cocos2d::CCObject*,std::allocator<cocos2d::CCObject*> >::_M_insert(std::_Rb_tree_node_base*,cocos2d::CCObject* const&) in libcocos2dx.a(CCSet.o)

std::_Rb_tree<std::string,std::pair<std::string const,std::string>,std::_Select1st<std::pair<std::string const,std::string> >,std::allocator<std::pair<std::string const,std::string> > >::_M_insert(std::_Rb_tree_node_base*,std::string> const&) in libcocos2dx.a(CCFileUtils.o)

std::_Rb_tree<std::string,std::string> const&) in libcocos2dx.a(CCTMXXMLParser.o)

std::_Rb_tree<std::string,cocos2d::ZipEntryInfo>,cocos2d::ZipEntryInfo> >,cocos2d::ZipEntryInfo> > >::_M_insert(std::_Rb_tree_node_base*,cocos2d::ZipEntryInfo> const&) in libcocos2dx.a(ZipUtils.o)

"std::basic_istream<char,std::char_traits<char> >& std::getline<char,std::allocator<char> >(std::basic_istream<char,std::char_traits<char> >&,std::allocator<char> >&,char)",char const**) in libcocos2dx.a(CCTMXXMLParser.o)

"non-virtual thunk to cocos2d::CCTextFieldTTF::attachWithIME()",referenced from:

vtable for cocos2d::extension::UICCTextField in UITextField.o

"non-virtual thunk to cocos2d::CCTextFieldTTF::detachWithIME()",referenced from:

vtable for cocos2d::extension::UICCTextField in UITextField.o

"non-virtual thunk to cocos2d::CCTextFieldTTF::getContentText()",referenced from:

vtable for cocos2d::extension::UICCTextField in UITextField.o

"non-virtual thunk to cocos2d::CCTextFieldTTF::canAttachWithIME()",referenced from:

vtable for cocos2d::extension::UICCTextField in UITextField.o

"non-virtual thunk to cocos2d::CCTextFieldTTF::canDetachWithIME()",referenced from:

vtable for cocos2d::extension::UICCTextField in UITextField.o

ld: symbol(s) not found for architecture i386

clang: error: linker command failed with exit code 1 (use -v to see invocation)

Showing first 200 notices only



选择targets->general DeploymentTarget 选择7.0以下系统版本就好了

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


    本文实践自 RayWenderlich、Ali Hafizji 的文章《How To Create Dynamic Textures with CCRenderTexture in Cocos2D 2.X》,文中使用Cocos2D,我在这里使用Cocos2D-x 2.1.4进行学习和移植。在这篇文章,将会学习到如何创建实时纹理、如何用Gimp创建无缝拼接纹
Cocos-code-ide使用入门学习地点:杭州滨江邮箱:appdevzw@163.com微信公众号:HopToad 欢迎转载,转载标注出处:http://blog.csdn.netotbaron/article/details/424343991.  软件准备 下载地址:http://cn.cocos2d-x.org/download 2.  简介2.1         引用C
第一次開始用手游引擎挺激动!!!进入正题。下载资源1:从Cocos2D-x官网上下载,进入网页http://www.cocos2d-x.org/download,点击Cocos2d-x以下的Download  v3.0,保存到自定义的文件夹2:从python官网上下载。进入网页https://www.python.org/downloads/,我当前下载的是3.4.0(当前最新
    Cocos2d-x是一款强大的基于OpenGLES的跨平台游戏开发引擎,易学易用,支持多种智能移动平台。官网地址:http://cocos2d-x.org/当前版本:2.0    有很多的学习资料,在这里我只做为自己的笔记记录下来,错误之处还请指出。在VisualStudio2008平台的编译:1.下载当前稳
1.  来源 QuickV3sample项目中的2048样例游戏,以及最近《最强大脑》娱乐节目。将2048改造成一款挑战玩家对数字记忆的小游戏。邮箱:appdevzw@163.com微信公众号:HopToadAPK下载地址:http://download.csdn.net/detailotbaron/8446223源码下载地址:http://download.csdn.net/
   Cocos2d-x3.x已经支持使用CMake来进行构建了,这里尝试以QtCreatorIDE来进行CMake构建。Cocos2d-x3.X地址:https://github.com/cocos2d/cocos2d-x1.打开QtCreator,菜单栏→"打开文件或项目...",打开cocos2d-x目录下的CMakeLists.txt文件;2.弹出CMake向导,如下图所示:设置
 下载地址:链接:https://pan.baidu.com/s/1IkQsMU6NoERAAQLcCUMcXQ提取码:p1pb下载完成后,解压进入build目录使用vs2013打开工程设置平台工具集,打开设置界面设置: 点击开始编译等待编译结束编译成功在build文件下会出现一个新文件夹Debug.win32,里面就是编译
分享一下我老师大神的人工智能教程吧。零基础!通俗易懂!风趣幽默!还带黄段子!希望你也加入到我们人工智能的队伍中来!http://www.captainbed.net前言上次用象棋演示了cocos2dx的基本用法,但是对cocos2dx并没有作深入的讨论,这次以超级马里奥的源代码为线索,我们一起来学习超级马里奥的实
1. 圆形音量button事实上作者的本意应该是叫做“电位计button”。可是我觉得它和我们的圆形音量button非常像,所以就这么叫它吧~先看效果:好了,不多解释,本篇到此为止。(旁白: 噗。就这样结束了?)啊才怪~我们来看看代码:[cpp] viewplaincopyprint?CCContro
原文链接:http://www.cnblogs.com/physwf/archive/2013/04/26/3043912.html为了进一步深入学习贯彻Cocos2d,我们将自己写一个场景类,但我们不会走的太远,凡是都要循序渐进,哪怕只前进一点点,那也至少是前进了,总比贪多嚼不烂一头雾水的好。在上一节中我们建
2019独角兽企业重金招聘Python工程师标准>>>cocos2d2.0之后加入了一种九宫格的实现,主要作用是用来拉伸图片,这样的好处在于保留图片四个角不变形的同时,对图片中间部分进行拉伸,来满足一些控件的自适应(PS: 比如包括按钮,对话框,最直观的形象就是ios里的短信气泡了),这就要求图
原文链接:http://www.cnblogs.com/linji/p/3599478.html1.环境和工具准备Win7VS2010/2012,至于2008v2版本之后似乎就不支持了。 2.安装pythonv.2.0版本之前是用vs模板创建工程的,到vs2.2之后就改用python创建了。到python官网下载版本2.7.5的,然后
环境:ubuntu14.04adt-bundle-linux-x86_64android-ndk-r9d-linux-x86_64cocos2d-x-3.0正式版apache-ant1.9.3python2.7(ubuntu自带)加入环境变量exportANDROID_SDK_ROOT=/home/yangming/adt-bundle-linux/sdkexportPATH=${PATH}:/$ANDROID_SDK_ROOTools/export
1开发背景游戏程序设计涉及了学科中的各个方面,鉴于目的在于学习与进步,本游戏《FlappyBird》采用了两个不同的开发方式来开发本款游戏,一类直接采用win32底层API来实现,另一类采用当前火热的cocos2d-x游戏引擎来开发本游戏。2需求分析2.1数据分析本项目要开发的是一款游
原文链接:http://www.cnblogs.com/linji/p/3599912.html//纯色色块控件(锚点默认左下角)CCLayerColor*ccc=CCLayerColor::create(ccc4(255,0,0,128),200,100);//渐变色块控件CCLayerGradient*ccc=CCLayerGradient::create(ccc4(255,0,0,
原文链接:http://www.cnblogs.com/linji/p/3599488.html//载入一张图片CCSprite*leftDoor=CCSprite::create("loading/door.png");leftDoor->setAnchorPoint(ccp(1,0.5));//设置锚点为右边中心点leftDoor->setPosition(ccp(240,160));/
为了答谢广大学员对智捷课堂以及关老师的支持,现购买51CTO学院关老师的Cocos2d-x课程之一可以送智捷课堂编写图书一本(专题可以送3本)。一、Cocos2d-x课程列表:1、Cocos2d-x入门与提高视频教程__Part22、Cocos2d-x数据持久化与网络通信__Part33、Cocos2d-x架构设计与性能优化内存优
Spawn让多个action同时执行。Spawn有多种不同的create方法,最终都调用了createWithTwoActions(FiniteTimeAction*action1,FiniteTimeAction*action2)方法。createWithTwoActions调用initWithTwoActions方法:对两个action变量初始化:_one=action1;_two=action2;如果两个a
需要环境:php,luajit.昨天在cygwin上安装php和luajit环境,这真特么是一个坑。建议不要用虚拟环境安装打包环境,否则可能会出现各种莫名问题。折腾了一下午,最终将环境转向linux。其中,luajit的安装脚本已经在quick-cocos2d-x-develop/bin/中,直接luajit_install.sh即可。我的lin
v3.0相对v2.2来说,最引人注意的。应该是对触摸层级的优化。和lambda回调函数的引入(嗯嗯,不枉我改了那么多类名。话说,每次cocos2dx大更新。总要改掉一堆类名函数名)。这些特性应该有不少人研究了,所以今天说点跟图片有关的东西。v3.0在载入图片方面也有了非常大改变,仅仅只是