cocos2d-x 2.2.1编译报错

前端之家收集整理的这篇文章主要介绍了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以下系统版本就好了

猜你在找的Cocos2d-x相关文章