axmol/tools/tolua
Ricardo Quesada b67f3008a5 Lua compiles again 2014-05-01 18:07:25 -07:00
..
README.mdown Re-add CocosRobot send bindings glue codes to cocos2d-x repo. 2014-03-10 18:13:39 +08:00
cocos2dx.ini Fix compile error for Lua 2014-04-28 14:04:37 +08:00
cocos2dx_extension.ini Modify the config files for bindings-generator to fix the error about “is_ref_class” 2014-03-26 12:58:33 +08:00
cocos2dx_physics.ini Lua compiles again 2014-05-01 18:07:25 -07:00
cocos2dx_spine.ini Modify the config files for bindings-generator to fix the error about “is_ref_class” 2014-03-26 12:58:33 +08:00
cocos2dx_studio.ini Modify the config files for bindings-generator to fix the error about “is_ref_class” 2014-03-26 12:58:33 +08:00
cocos2dx_ui.ini Modify the config files for bindings-generator to fix the error about “is_ref_class” 2014-03-26 12:58:33 +08:00
genbindings.py rename cocos2dx_gui to cocos2dx_ui 2014-03-11 18:48:27 +08:00

README.mdown

How to Use bindings-generator

On Windows:

On MAC:

  • The OSX 10.9 has a built-in python2.7 and if your os don't have python2.7 then use Homebrew to install the python and use pip install the python dependencies.
	brew install python
  • Install python dependices by pip.
    sudo easy_install pip
    sudo pip install PyYAML
	sudo pip install Cheetah
	export NDK_ROOT=/path/to/android-ndk-r9b
    ./genbindings.py

On Ubuntu Linux 12.04 64bit

  • Install python
	sudo apt-get install python2.7
  • Install python dependices by pip.
	sudo apt-get install python-pip
	sudo pip install PyYAML
	sudo pip install Cheetah
	export NDK_ROOT=/path/to/android-ndk-r9b
    ./genbindings.py