cocos2dx-3.x 创建项目命令行

cd /Work/cocos2d-x-3.2  出现NextGenmatoiMac:cocos2d-x-3.2 nextgen$ ./setup.py


Setting up cocos2d-x...
->Check environment variable COCOS_CONSOLE_ROOT
  ->Search for environment variable COCOS_CONSOLE_ROOT...
    ->COCOS_CONSOLE_ROOT is found : /Applications/Cocos/frameworks/cocos2d-x/tools/cocos2d-console/bin

  ->Update variable COCOS_CONSOLE_ROOT in files ['.bash_profile', '.bash_login', '.profile']
    ->File /Users/nextgen/.bash_profile updated!
->Configuration for Android platform only, you can also skip and manually edit "/Users/nextgen/.bash_profile"

->Check environment variable NDK_ROOT
  ->Search for environment variable NDK_ROOT...
    ->NDK_ROOT is found : /Developer/Android/android-ndk-r8b

->Check environment variable ANDROID_SDK_ROOT
  ->Search for environment variable ANDROID_SDK_ROOT...
    ->ANDROID_SDK_ROOT not found

  ->Search for command android in system...
    ->Command android not found

  ->Please enter the path of ANDROID_SDK_ROOT (or press Enter to skip):
->Check environment variable ANT_ROOT
  ->Search for environment variable ANT_ROOT...
    ->ANT_ROOT is found : /Applications/Cocos/tools/ant/bin


Please execute command: "source /Users/nextgen/.bash_profile" to make added system variables take effec




Medelis-Mac-mini-3:bin Medeli$ python cocos.py new MidiDemo_Owen2 -p com.coco2dx.org -l cpp -d ~/Desktop/owen


输入 NextGenmatoiMac:cocos2d-x-3.2 nextgen$ cocos new -l cpp -p com.test.project HelloGame  即可

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值