注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

眼睛想旅行

技术就是我的生命与信仰!

 
 
 

日志

 
 
关于我

精通C,C++,python,Erlang。并熟悉各种其他编程语言,用cocos2dx游戏引擎作过几个项目。会MySQL增删改查,了解OpenGL渲染原理。懂单片机,能设计数字电路系统,会画电路图和设计电路板。喜欢了解最新前沿技术,并持续关注和学习新技术。

网易考拉推荐

升级Xcode到6.1之后使用iPhone6真机测试cocos2d-x报错不支持arm64的解决方案(转)  

2015-02-23 17:33:10|  分类: cocos2d-x |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
转载请注明出处http://blog.csdn.net/wjlpld/ 谢谢大家 
        最近收入iPhone6之后将Xcode顺便升级到6.1版本,编译cocos2d-x 3.2的Helloworld项目时报错如下 
         
        
        Undefined symbols for architecture arm64:
          "_WebPGetFeaturesInternal", referenced from:
              WebPGetFeatures(unsigned char const*, unsigned long, WebPBitstreamFeatures*) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_WebPInitDecoderConfigInternal", referenced from:
              WebPInitDecoderConfig(WebPDecoderConfig*) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_png_get_io_ptr", referenced from:
              cocos2d::(anonymous namespace)::pngReadCallback(png_struct_def*, unsigned char*, unsigned long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_png_error", referenced from:
              cocos2d::(anonymous namespace)::pngReadCallback(png_struct_def*, unsigned char*, unsigned long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_WebPDecode", referenced from:
              cocos2d::Image::initWithWebpData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_TIFFGetField", referenced from:
              cocos2d::Image::initWithTiffData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "__TIFFmalloc", referenced from:
              cocos2d::Image::initWithTiffData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_TIFFReadRGBAImageOriented", referenced from:
              cocos2d::Image::initWithTiffData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_TIFFClose", referenced from:
              cocos2d::Image::initWithTiffData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_jpeg_read_header", referenced from:
              cocos2d::Image::initWithJpgData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_png_read_end", referenced from:
              cocos2d::Image::initWithPngData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_jpeg_read_scanlines", referenced from:
              cocos2d::Image::initWithJpgData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_png_get_valid", referenced from:
              cocos2d::Image::initWithPngData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_png_set_strip_16", referenced from:
              cocos2d::Image::initWithPngData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_png_create_read_struct", referenced from:
              cocos2d::Image::initWithPngData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_png_get_image_height", referenced from:
              cocos2d::Image::initWithPngData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_png_set_packing", referenced from:
              cocos2d::Image::initWithPngData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_TIFFClientOpen", referenced from:
              cocos2d::Image::initWithTiffData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_FT_Get_Glyph", referenced from:
              cocos2d::FontFreeType::getGlyphBitmapWithOutline(unsigned short, FT_BBox_&) in libcocos2dx iOS.a(CCFontFreeType.o)
          "_FT_Set_Char_Size", referenced from:
              cocos2d::FontFreeType::createFontObject(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) in libcocos2dx iOS.a(CCFontFreeType.o)
          "_png_read_image", referenced from:
              cocos2d::Image::initWithPngData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_png_destroy_read_struct", referenced from:
              cocos2d::Image::initWithPngData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_FT_Glyph_StrokeBorder", referenced from:
              cocos2d::FontFreeType::getGlyphBitmapWithOutline(unsigned short, FT_BBox_&) in libcocos2dx iOS.a(CCFontFreeType.o)
          "_png_sig_cmp", referenced from:
              cocos2d::Image::initWithPngData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_png_read_update_info", referenced from:
              cocos2d::Image::initWithPngData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_png_get_rowbytes", referenced from:
              cocos2d::Image::initWithPngData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_jpeg_destroy_decompress", referenced from:
              cocos2d::Image::initWithJpgData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_FT_Glyph_Get_CBox", referenced from:
              cocos2d::FontFreeType::getGlyphBitmapWithOutline(unsigned short, FT_BBox_&) in libcocos2dx iOS.a(CCFontFreeType.o)
          "_png_get_color_type", referenced from:
              cocos2d::Image::initWithPngData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_jpeg_std_error", referenced from:
              cocos2d::Image::initWithJpgData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_png_set_tRNS_to_alpha", referenced from:
              cocos2d::Image::initWithPngData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_FT_Done_FreeType", referenced from:
              cocos2d::FontFreeType::shutdownFreeType() in libcocos2dx iOS.a(CCFontFreeType.o)
          "_FT_Done_Glyph", referenced from:
              cocos2d::FontFreeType::getGlyphBitmapWithOutline(unsigned short, FT_BBox_&) in libcocos2dx iOS.a(CCFontFreeType.o)
          "_jpeg_start_decompress", referenced from:
              cocos2d::Image::initWithJpgData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_FT_Load_Glyph", referenced from:
              cocos2d::FontFreeType::getGlyphBitmap(unsigned short, int&, int&, cocos2d::Rect&, int&) in libcocos2dx iOS.a(CCFontFreeType.o)
              cocos2d::FontFreeType::getGlyphBitmapWithOutline(unsigned short, FT_BBox_&) in libcocos2dx iOS.a(CCFontFreeType.o)
          "_jpeg_CreateDecompress", referenced from:
              cocos2d::Image::initWithJpgData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_jpeg_mem_src", referenced from:
              cocos2d::Image::initWithJpgData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_FT_Init_FreeType", referenced from:
              cocos2d::FontFreeType::initFreeType() in libcocos2dx iOS.a(CCFontFreeType.o)
          "_png_set_read_fn", referenced from:
              cocos2d::Image::initWithPngData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_png_get_bit_depth", referenced from:
              cocos2d::Image::initWithPngData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_FT_Stroker_Done", referenced from:
              cocos2d::FontFreeType::~FontFreeType() in libcocos2dx iOS.a(CCFontFreeType.o)
          "_png_set_palette_to_rgb", referenced from:
              cocos2d::Image::initWithPngData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_FT_Get_Char_Index", referenced from:
              cocos2d::FontFreeType::getHorizontalKerningForChars(unsigned short, unsigned short) const in libcocos2dx iOS.a(CCFontFreeType.o)
              cocos2d::FontFreeType::getGlyphBitmap(unsigned short, int&, int&, cocos2d::Rect&, int&) in libcocos2dx iOS.a(CCFontFreeType.o)
              cocos2d::FontFreeType::getGlyphBitmapWithOutline(unsigned short, FT_BBox_&) in libcocos2dx iOS.a(CCFontFreeType.o)
          "_png_get_image_width", referenced from:
              cocos2d::Image::initWithPngData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_png_set_longjmp_fn", referenced from:
              cocos2d::Image::initWithPngData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_FT_Stroker_Set", referenced from:
              cocos2d::FontFreeType::FontFreeType(bool, int) in libcocos2dx iOS.a(CCFontFreeType.o)
          "_FT_Select_Charmap", referenced from:
              cocos2d::FontFreeType::createFontObject(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) in libcocos2dx iOS.a(CCFontFreeType.o)
          "_FT_Outline_Render", referenced from:
              cocos2d::FontFreeType::getGlyphBitmapWithOutline(unsigned short, FT_BBox_&) in libcocos2dx iOS.a(CCFontFreeType.o)
          "__TIFFfree", referenced from:
              cocos2d::Image::initWithTiffData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_png_set_expand_gray_1_2_4_to_8", referenced from:
              cocos2d::Image::initWithPngData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_FT_Done_Face", referenced from:
              cocos2d::FontFreeType::~FontFreeType() in libcocos2dx iOS.a(CCFontFreeType.o)
          "_png_create_info_struct", referenced from:
              cocos2d::Image::initWithPngData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_png_read_info", referenced from:
              cocos2d::Image::initWithPngData(unsigned char const*, long) in libcocos2dx iOS.a(CCImage-5287FE6734B2FA44.o)
          "_FT_Stroker_New", referenced from:
              cocos2d::FontFreeType::FontFreeType(bool, int) in libcocos2dx iOS.a(CCFontFreeType.o)
          "_FT_New_Memory_Face", referenced from:
              cocos2d::FontFreeType::createFontObject(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int) in libcocos2dx iOS.a(CCFontFreeType.o)
          "_FT_Outline_Translate", referenced from:
              cocos2d::FontFreeType::getGlyphBitmapWithOutline(unsigned short, FT_BBox_&) in libcocos2dx iOS.a(CCFontFreeType.o)
          "_FT_Get_Kerning", referenced from:
              cocos2d::FontFreeType::getHorizontalKerningForChars(unsigned short, unsigned short) const in libcocos2dx iOS.a(CCFontFreeType.o)
        ld: symbol(s) not found for architecture arm64
        clang: error: linker command failed with exit code 1 (use -v to see invocation)
         暂时的解决方法如下:
         
        打开你项目所在目录,找到里面的cocos2d-》external,在external文件夹里面搜索_arm64.a(是external里面所有的_arm64.a,不是整个计算机的!),将你搜索到的后缀为_arm64.a的文件(cocos2d-x 3.2里面是7个),之后把这些所有的文件拖到到你的Xcode项目目录里面的FrameWorks去,选择group方式,在现阶段下只能用这个方法了,大家尽情的编译吧~~~
升级Xcode到6.1之后使用iPhone6真机测试cocos2d-x报错不支持arm64的解决方案(转) - ♂苹果 - 眼睛想旅行
 升级Xcode到6.1之后使用iPhone6真机测试cocos2d-x报错不支持arm64的解决方案(转) - ♂苹果 - 眼睛想旅行
  评论这张
 
阅读(291)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017