axmol/tools/tojs
zhangbin 3641451c47 Update the submodule js-bindings & update solution files for js-bindings. 2015-04-15 13:58:41 +08:00
..
README.mdown Add js-bindings generator tools. 2015-04-14 11:01:07 +08:00
cocos2dx.ini Add js-bindings generator tools. 2015-04-14 11:01:07 +08:00
cocos2dx_3d.ini Update the submodule js-bindings & update solution files for js-bindings. 2015-04-15 13:58:41 +08:00
cocos2dx_3d_ext.ini Add js-bindings generator tools. 2015-04-14 11:01:07 +08:00
cocos2dx_builder.ini Add js-bindings generator tools. 2015-04-14 11:01:07 +08:00
cocos2dx_extension.ini Add js-bindings generator tools. 2015-04-14 11:01:07 +08:00
cocos2dx_spine.ini Add js-bindings generator tools. 2015-04-14 11:01:07 +08:00
cocos2dx_studio.ini Update the submodule js-bindings & update solution files for js-bindings. 2015-04-15 13:58:41 +08:00
cocos2dx_ui.ini Add js-bindings generator tools. 2015-04-14 11:01:07 +08:00
genbindings.py Add js-bindings generator tools. 2015-04-14 11:01:07 +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