惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V2EX - 技术
V2EX - 技术
博客园 - Franky
The GitHub Blog
The GitHub Blog
Y
Y Combinator Blog
MongoDB | Blog
MongoDB | Blog
C
Check Point Blog
P
Proofpoint News Feed
雷峰网
雷峰网
F
Fortinet All Blogs
酷 壳 – CoolShell
酷 壳 – CoolShell
I
InfoQ
H
Help Net Security
T
Tailwind CSS Blog
博客园 - 聂微东
博客园 - 【当耐特】
S
Schneier on Security
The Hacker News
The Hacker News
I
Intezer
博客园 - 三生石上(FineUI控件)
量子位
AWS News Blog
AWS News Blog
T
The Exploit Database - CXSecurity.com
腾讯CDC
Hugging Face - Blog
Hugging Face - Blog
P
Palo Alto Networks Blog
P
Privacy International News Feed
V
Vulnerabilities – Threatpost
NISL@THU
NISL@THU
宝玉的分享
宝玉的分享
Cyberwarzone
Cyberwarzone
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
T
Threat Research - Cisco Blogs
Microsoft Azure Blog
Microsoft Azure Blog
B
Blog
T
The Blog of Author Tim Ferriss
Security Latest
Security Latest
H
Hacker News: Front Page
Vercel News
Vercel News
A
Arctic Wolf
L
LINUX DO - 热门话题
G
GRAHAM CLULEY
Simon Willison's Weblog
Simon Willison's Weblog
Google Online Security Blog
Google Online Security Blog
W
WeLiveSecurity
Scott Helme
Scott Helme
Hacker News - Newest:
Hacker News - Newest: "LLM"
O
OpenAI News
TaoSecurity Blog
TaoSecurity Blog
Jina AI
Jina AI
爱范儿
爱范儿

博客园 - CoderZh

[公告]这里的博客将不再更新,最新博客请移步至blog.coderzh.com 使用ThreadSanitizer线程检查工具 使用Jekyll官方的ReadMore摘要功能 小记:《技术进步引发的灵感革命》网易游戏学院第二届公开日 强制链接静态库所有符号(包括未被使用的) 开启Github之旅 读《程序员的思维训练》 最近的一些变化 成大事者不纠结 读《从0到1》 OpenWrt资料汇总 C++开源代码覆盖率工具OpenCppCoverage介绍(Windows) Facebook网络模拟测试工具ATC使用 为什么心跳包(HeartBeat)是必须的? DigitalOcean上使用Tornado+MongoDB+Nginx+Supervisor+DnsPod快速搭建个人博客 创业三年来的一些感想 - 创业篇1 创业三年来的一些感想 - 游戏篇 ViEmuVS2013-3.2.1 破解 从CEGUI源码看代码规范
Cocos2d-x3.6 Android编译问题
CoderZh · 2015-06-06 · via 博客园 - CoderZh

在Cocod2d-x论坛上看到越来越多人吐槽新版本更新太快,改动太大,而且经常有BUG导致升级要折腾很久很久。。但我就是喜欢折腾,喜欢升级到最新版本,看看有了哪些新功能,哪些改进。为此也折腾了不少,遇到一点就记录一点吧。

  1. 3.5版本之后,Android编译的build_native.py改成了直接调用cocos compile,我把所有都升级到了最新版本还是编译不成功,只好放弃,也许是我打开方式不对,还是先使用旧的build_native.py编译吧。

  2. 出现提示找不到“org.cocos2dx.lib.Cocos2dxActivity“, Cocos2dxAcitivy明明在link的libcocos2d里啊,怎么还说找不到。
    解决方法:干脆把libcocos2d删了,重新自己手工添加一个,右键BuildPath->Link Source... 添加一次即可。

  3. CCImage.cpp突然编译不过了,提示找不到uint32,JSAMPROW。
    解决办法:uint32依赖tiff,JSAMPROW依赖jpeg,而之前我为了省一点点包大小,通过-DCC_USE_TIFF=0 -DCC_USE_JPEG=0把这两个东东禁掉了。所以把tiff和jpeg打开就好了。别省了。

  4. 打开eclipse工程后,出现"serializing cdt project settings"
    解决方法:见 http://blog.csdn.net/djvc/article/details/41117677

  5. 打开eclipse工程后,出现“Lint Error Checking"
    解决方法:Windows -> perferences -> Android -> Lint Error Checking,把左边的When saving files,check for errors复选框去掉