axmol/tools/tolua
samuele3hu 3c8dc7a596 Update the cocos2d.ini config 2014-07-11 17:21:55 +08:00
..
README.mdown Update README.md in tools/tolua 2014-05-28 09:43:48 +08:00
cocos2dx.ini Update the cocos2d.ini config 2014-07-11 17:21:55 +08:00
cocos2dx_controller.ini Update controller lua binding and related test cases 2014-07-11 11:52:05 +08:00
cocos2dx_experimental_video.ini Update ini configure and bindings-generator submodule 2014-07-08 15:17:46 +08:00
cocos2dx_extension.ini Update ini files for Lua bindings 2014-07-03 12:02:48 +08:00
cocos2dx_physics.ini Update ini configure and bindings-generator submodule 2014-07-08 15:17:46 +08:00
cocos2dx_spine.ini Update ini files for Lua bindings 2014-07-03 12:02:48 +08:00
cocos2dx_studio.ini Update ini files for Lua bindings 2014-07-03 12:02:48 +08:00
cocos2dx_ui.ini Update ini files for Lua bindings 2014-07-03 12:02:48 +08:00
genbindings.py Update controller lua binding and related test cases 2014-07-11 11:52:05 +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