Mac 系统下cocos2dx 环境变量设置

 

Mac 系统环境变量设置
 
vim ~/.bash_profile 
 

export PATH=$PATH:/Users/wangchengcheng/Downloads/LearningSoftWare/Android/SDK/android-sdk-macosx/tools
export PATH=$PATH:/Users/wangchengcheng/Downloads/LearningSoftWare/Android/SDK/android-sdk-macosx/platform-tools

export PATH=$PATH:/Users/wangchengcheng/Downloads/LearningSoftWare/Android/NDK/android-ndk-r10

export ANDROID_NDK_ROOT=/Users/wangchengcheng/Downloads/LearningSoftWare/Android/NDK/android-ndk-r10
export ANDROID_SDK_ROOT=/Users/wangchengcheng/Downloads/LearningSoftWare/Android/SDK/android-sdk-macosx
export NDK_ROOT=/Users/wangchengcheng/Downloads/LearningSoftWare/Android/NDK/android-ndk-r10
export PATH=$PATH:/Users/wangchengcheng/Downloads/LearningSoftWare/Cocos2d-x/cocos2d-x-3.3/tools/cocos2d-console/bin
 
创建新项目
 

cocos new MyCocos2dxStudy -p com.wcc.MyCocos2dxStudy -l cpp -d  /Users/wangchengcheng/Documents/LearningWorkSpace/Cocos2dx/Cocos2dxStudy

posted @ 2015-02-11 23:25  一个橙子~  阅读(632)  评论(0编辑  收藏  举报