转自:http://becomingindiedev.blogspot.com.es/2014/12/cocos2d-x-v3x-and-xcode-6x-with-arm-64.html

Hi!

When I upgraded to Xcode 6, I noticed that there were lots of linking problems in Cocos2d-x projects that used to work fine with previous versions of Xcode. The problems are related to the ARM 64 architecture. After searching a while, I found hints to the solution, although I was missing a more step-by-step solution. So here it is how I solved it.

1) Add linker flags for ARM 64 architecture. In your target, select Build Settings > Linking > Other Linker Flags and set the following flags for Debug and Release for arm64 architecture:

-ljpeg_arm64
-lcurl_arm64
-lpng_arm64
-ltiff_arm64
-lwebp_arm64
-lwebsockets_arm64
-lfreetype_arm64

EDIT: this is no longer required from Cocos2d-x v3.4.

2) Add library paths. In your target, select Build Settings > Search Paths > Library Search Paths, and write the following directory for Debug and Release.

YourProjectPath/cocos2d/external 

And don't forget to set "recursive".

Hope it's useful. See you!
FM

最新文章

  1. [LeetCode] Odd Even Linked List 奇偶链表
  2. OpenStack 行业正进入拓展期:行业云将成为新一轮工业革命的基础设施和引擎
  3. .Net Globalization and Localization
  4. WCF学习笔记之消息交换模式
  5. 用Backbone.js创建一个联系人管理系统(二)
  6. ubuntu的web开发环境搭建
  7. python 下的数据结构与算法---5:递归(Recursion)
  8. Codeforces Round #248 (Div. 1)——Ryouko's Memory Note
  9. Nimbus<一>Storm系列(五)架构分析之Nimbus启动过程
  10. mac攻略(4) -- 使用brew配置php7开发环境(mac+php+apache+mysql+redis)
  11. Python中type和object
  12. phpstorm2018激活方法
  13. Java_myBatis_一对多映射
  14. 【Python52--爬虫1】
  15. Paper Reading: Perceptual Generative Adversarial Networks for Small Object Detection
  16. MySQL数据库order by 奇慢无比
  17. Ubuntu 16.04实现SSH无密码登录/免密登录/自动登录(ssh-keygen/ssh-copy-id)
  18. 使用google chart api生成报表图片
  19. java作用域public ,private ,protected 及不写时的区别
  20. Cocos2d-JS实现的贪吃蛇

热门文章

  1. 巧用Excel提高工作效率
  2. Jquery EasyUI弹出窗体
  3. TP实例化模型的两种方式 M() D()
  4. Mac 下 Git 的基础命令行操作
  5. JavaScript演示如何访问Search字段
  6. ABAP-创建客户
  7. 【linux】如何给sudo的root设置环境变量
  8. Object.create用法
  9. MSSQL2005外网IP的1433端口开启方法
  10. myeclipse 安装flex插件后变为中文 修改配置文件切换到英文界面