Files
cocos4/native/tools/tojs
2020-11-24 10:03:40 +08:00
..
2020-09-10 09:51:24 +08:00
2020-09-30 17:58:38 +08:00
2020-11-18 09:52:36 +08:00
2020-09-18 18:23:21 +08:00
2020-09-18 18:23:21 +08:00
2020-10-12 10:22:42 +08:00
2020-09-30 13:58:07 +08:00
2020-11-19 18:58:27 +08:00

How to Use bindings-generator

On Windows:

On MAC:

  • The OSX 10.10 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-r16
    ./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
  • Download NDK r16 or later from Android Ndk
  • Go to "cocos2d-x/tools/tojs", Run
	export NDK_ROOT=/path/to/android-ndk-r16
    ./genbindings.py