如何设置的cocos2d-X在Windows 7..need一个n00bs指南!? [英] how to setup cocos2d-x on windows 7..need a n00bs guide !!?
问题描述
好吧,我在Windows 7中,64位,具有ADT套件,.. 我有点困惑与所有的教程(一)的cocos2d-X设置为Android在Windows 7上,还他们太old..after了的cocos2d-x已经被更新,我不想尝试和实验,我目前完美对于Android环境中设置...虽然我已经下载了CDT插件,没有别的。
well i am on windows 7 ,64 bit,having the ADT bundle for windows.. i am a bit confused with all the tutorials(a) cocos2d-x setup for android on windows 7,also they are too old..after that the cocos2d-x has been updated and i dont want to try and experiment with my current perfect environment set for android...though i have downloaded the CDT plugin and nothing else..
这将是很好,如果有人可以帮助配置的cocos2d-x对于Windows 7的...
it will be good if anyone helps to configure cocos2d-x for windows 7...
(一)
的http://www.raywenderlich.com/11283/cocos2d-x-for-ios-and-android-getting-started
的http://gameit.ro/2012/01/creating-an-iphone-and-android-cocos2d-x-hybrid-project-updated/
(a)
http://www.raywenderlich.com/11283/cocos2d-x-for-ios-and-android-getting-started
http://gameit.ro/2012/01/creating-an-iphone-and-android-cocos2d-x-hybrid-project-updated/
推荐答案
<一个href="http://www.cocos2d-x.org/projects/cocos2d-x/wiki/Chapter_1_-_How_to_Create_a_New_cocos2d-x_project_on_multi-platforms#4-Start-with-Android" rel="nofollow">http://www.cocos2d-x.org/projects/cocos2d-x/wiki/Chapter_1_-_How_to_Create_a_New_cocos2d-x_project_on_multi-platforms#4-Start-with-Android
这完全适用于Windows 7,但你需要两样东西:
This totally works on windows 7 but you will need two things:
-
您需要具有管理员权限否则它会创建该程序本身着访问和搞搞许多文件pretty的艰难。
You will need to have administrator privileges else it creates many files which the program itself cant access and things turn out pretty tough.
您必须设置一个系统环境变量在您的计算机NDK_ROOT。 这里是如何做到这一点的一个例子 - <一个href="http://www.windows7hacker.com/index.php/2010/05/how-to-addedit-environment-variables-in-windows-7/" rel="nofollow">http://www.windows7hacker.com/index.php/2010/05/how-to-addedit-environment-variables-in-windows-7/
You will have to set a system environment variable for "NDK_ROOT" in your computer. Here is an example of how to do so - http://www.windows7hacker.com/index.php/2010/05/how-to-addedit-environment-variables-in-windows-7/
这痛苦和努力,一周后为我工作。我希望这对你的作品的第一个实例。 好运..:)
This worked for me after one week of pain and efforts. I hope this works for you in the first instance. Good Luck.. :)
这篇关于如何设置的cocos2d-X在Windows 7..need一个n00bs指南!?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!