Skip to content Skip to sidebar Skip to footer

How To Setup Cocos2x Console Tool Path?

I setup cocos2d-x as outlines here: http://www.codeproject.com/Articles/801093/Writing-Games-with-Cplusplus-for-Android-on-a-Mac Setup.py had all the expected output, ./setup.py

Solution 1:

I added cocos console root to the bash_profile manually.

Here how I did :

In Terminal, type:

open ~/.bash_profile

It will be opened within TextEdit. Add these lines :

export COCOS_CONSOLE_ROOT=/Users/barisatamer/Documents/workspace-game/Engine_Source/cocos2d-x-3.4/tools/cocos2d-console/bin
export PATH=$COCOS_CONSOLE_ROOT:$PATH

Post a Comment for "How To Setup Cocos2x Console Tool Path?"