linux 下编译 cocos2d-x
Craynic
posted @ 2012年4月13日 13:14
in 未分类
, 2644 阅读
(刚才看到一篇写 win 下安装的教程...忍不住写了个 linux 下编译的指导.)
我的环境: debian wheezy xfce 4.8 linux 3.2.0-2-686-pae
cocos2d-x 版本: cocos2d-1.0.1-x-0.12.0
#首先, 下载源代码. wget http://cocos2d-x.googlecode.com/files/cocos2d-1.0.1-x-0.12.0.zip #解压 mkdir cocos unzip -d cocos/ cocos2d-1.0.1-x-0.12.0.zip cd cocos #编译套件必须有的. aptitude install build-essential #依赖的库 mesa zlib glfw aptitude install mesa-common-dev zlib1g-dev libglfw-dev libglu1-mesa-dev #这个版本的 Makefile 有大小写问题, 改掉. sed "s/Linux/linux/g" CocosDenshion/proj.linux/Makefile cocos2dx/proj.linux/Makefile #编译 ./build-linux.sh
这代码里有好多 warning...不管它了...看花了眼的话重新跑下这个sh, 如果所有 .so 都是 up to date 的, 那就ok了.
***源码自带的第三方库(CocosDenshion/third_party)有在64位下有严重的问题***
自己写的项目编译的时候可以参考 tests/test.linux/Makefile .
- 无匹配
2012年4月13日 17:58
碉堡了呀 求抱大腿……
2012年5月14日 20:05
是 CocosDenshion/third_party/linux/fmod/lib64/api/lib/libfmodex64.so 有问题, 替换掉即可. 32位系统下用不到, 所以不存在此问题.
2024年1月16日 19:11
Great, thanks for sharing this article post.Really thank you! Really Cool
2024年2月07日 13:40
When a blind man bears the standard pity those who follow…. Where ignorance is bliss ‘tis folly to be wise….
2024年2月07日 13:52
One present why galore businesses opt for postcards is because they are overmuch cheaper to be prefab and this can forbear a lot of expenses on the lengthened run.
2024年2月07日 14:08
Love to read it,Waiting For More new Update and I Already Read your Recent Post its Great Thanks.
2024年2月07日 14:21
Superb web site, many thanks for finding the time to create these posts, i enjoy looking through all of them!
2024年2月07日 14:26
Another man complained that it wasn’t as much about the money, but the promise that he didn’t need to have any internet experience to be successful. I couldn’t find one satisfied buyer. There are many websites which solely in dedicated to Jeff Paul as a scam artist.
2024年2月07日 14:35
Superb web site, many thanks for finding the time to create these posts, i enjoy looking through all of them!
2024年2月07日 14:39
I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here!
2024年2月07日 14:45
I just tripped upon your blog and wanted to say that I have really enjoyed reading your blog stations. Thanks for sharing. It can be easily remembered by the people. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. It can be easily remembered by the people.
2024年2月07日 14:59
You made such an interesting piece to read, giving every subject enlightenment for us to gain knowledge. Thanks for sharing the such information with us to read this
2024年2月07日 15:05
I have been searching the Internet for fun and came upon your website. Fabulous post. Thanks a ton for sharing your knowledge! It is great to see that some people still put in an effort into managing their websites. I’ll be sure to check back again real soon. what a brilliant post I have come across and believe me
2024年2月07日 15:13
You made such an interesting piece to read, giving every subject enlightenment for us to gain knowledge. Thanks for sharing the such information with us to read this
2024年2月07日 15:21
Your blogs further more each else volume is so entertaining further serviceable It appoints me befall retreat encore. I will instantly grab your rss feed to stay informed of any updates.
2024年2月07日 15:30
They also need to be good communicators, as they will often need to explain their ideas to clients and contractors. In addition, interior designers should have a good understanding of how different materials and finishes can impact a space.
2024年2月07日 15:38
While i reputation I would in addition train tough created for your incorporate site would like While i embark on a lot of salubrious moreover retained up-to-date chaotic using your situation.
2024年2月07日 15:40
Actually an incredible expansion. I have perused this great post. Gratitude for sharing data about it. I truly like that. Much appreciated so part for your assemble.
2024年2月07日 15:45
While i reputation I would in addition train tough created for your incorporate site would like While i embark on a lot of salubrious moreover retained up-to-date chaotic using your situation.
2024年2月07日 15:53
Hmm… As i fully grasp weblogs having a linked problem, all the same as i do not ended pictures web page. As i added in from the piece that can help populars moreover i’ll quite possibly possibly be people specific primer.
2024年2月07日 15:58
This unique in fact perhaps even a very good arrange that i believe it or not in fact really enjoyed looking into. It is not necessarily consequently routine that i range from the substitute for verify a precise detail.
2024年2月07日 16:08
When a blind man bears the standard pity those who follow…. Where ignorance is bliss ‘tis folly to be wise….
2024年2月07日 16:11
I hope this helps almost anyone searching for this type of topic. I think this website is the best for such topics. Good work and quality of article. Major site
2024年2月07日 16:15
When a blind man bears the standard pity those who follow…. Where ignorance is bliss ‘tis folly to be wise….
2024年2月07日 16:19
One present why galore businesses opt for postcards is because they are overmuch cheaper to be prefab and this can forbear a lot of expenses on the lengthened run.
2024年2月07日 16:23
Love to read it,Waiting For More new Update and I Already Read your Recent Post its Great Thanks.
2024年2月07日 16:31
Superb web site, many thanks for finding the time to create these posts, i enjoy looking through all of them!
2024年2月07日 16:33
Another man complained that it wasn’t as much about the money, but the promise that he didn’t need to have any internet experience to be successful. I couldn’t find one satisfied buyer. There are many websites which solely in dedicated to Jeff Paul as a scam artist.
2024年2月07日 16:38
Superb web site, many thanks for finding the time to create these posts, i enjoy looking through all of them!
2024年2月07日 16:44
I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here!
2024年2月07日 16:48
I just tripped upon your blog and wanted to say that I have really enjoyed reading your blog stations. Thanks for sharing. It can be easily remembered by the people. I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts. It can be easily remembered by the people.
2024年2月07日 16:54
You made such an interesting piece to read, giving every subject enlightenment for us to gain knowledge. Thanks for sharing the such information with us to read this
2024年2月07日 16:58
I have been searching the Internet for fun and came upon your website. Fabulous post. Thanks a ton for sharing your knowledge! It is great to see that some people still put in an effort into managing their websites. I’ll be sure to check back again real soon. what a brilliant post I have come across and believe me
2024年2月07日 17:55
You made such an interesting piece to read, giving every subject enlightenment for us to gain knowledge. Thanks for sharing the such information with us to read this
2024年2月07日 18:03
Your blogs further more each else volume is so entertaining further serviceable It appoints me befall retreat encore. I will instantly grab your rss feed to stay informed of any updates.
2024年2月07日 18:11
They also need to be good communicators, as they will often need to explain their ideas to clients and contractors. In addition, interior designers should have a good understanding of how different materials and finishes can impact a space.
2024年2月07日 18:27
While i reputation I would in addition train tough created for your incorporate site would like While i embark on a lot of salubrious moreover retained up-to-date chaotic using your situation.
2024年2月07日 18:31
Actually an incredible expansion. I have perused this great post. Gratitude for sharing data about it. I truly like that. Much appreciated so part for your assemble.