axmol/tools/tolua
Deal(涓€绾跨伒) 1e6e9d4a8d Media engine video texture (#1133)
* VideoPlayer based on new MediaEngine[Win32/UWP]

* Improve MediaEngine interface

* Update readme

* Improve pixel format

* Improve MediaEngine interface

* Ready for PR UWP/Win32

* Ready for PR UWP,Win32

* Update reademe files

* Update readme files

* Update UIVideoPlayer-android.cpp [skip ci]

* Update UIVideoPlayer-ios.mm

* Update MFUtils.cpp

* Fix ci
2023-03-25 08:37:51 +08:00
..
README.md Now lua-binding generator use python3 2023-02-14 23:30:44 +08:00
ax_3d.ini Remove libclang binaries from repo 2023-02-14 23:10:28 +08:00
ax_audioengine.ini Windows Store UWP apps support (#1108) 2023-03-11 22:10:18 +08:00
ax_backend.ini Remove libclang binaries from repo 2023-02-14 23:10:28 +08:00
ax_base.ini Remove libclang binaries from repo 2023-02-14 23:10:28 +08:00
ax_controller.ini Remove libclang binaries from repo 2023-02-14 23:10:28 +08:00
ax_csloader.ini Remove libclang binaries from repo 2023-02-14 23:10:28 +08:00
ax_extension.ini Remove libclang binaries from repo 2023-02-14 23:10:28 +08:00
ax_navmesh.ini Remove libclang binaries from repo 2023-02-14 23:10:28 +08:00
ax_physics.ini Remove libclang binaries from repo 2023-02-14 23:10:28 +08:00
ax_physics3d.ini Remove libclang binaries from repo 2023-02-14 23:10:28 +08:00
ax_spine.ini Remove libclang binaries from repo 2023-02-14 23:10:28 +08:00
ax_studio.ini Windows Store UWP apps support (#1108) 2023-03-11 22:10:18 +08:00
ax_ui.ini Remove libclang binaries from repo 2023-02-14 23:10:28 +08:00
ax_video.ini Remove libclang binaries from repo 2023-02-14 23:10:28 +08:00
ax_webview.ini Remove libclang binaries from repo 2023-02-14 23:10:28 +08:00
genbindings.py Media engine video texture (#1133) 2023-03-25 08:37:51 +08:00

README.md

How to Use bindings-generator

Prerequisites

  1. Download libclang from https://github.com/axmolengine/buildware/releases/download/llvmorg-15.0.7/llvmorg-15.0.7.zip
  2. Copy libclang.dll/libclang.dylib/libclang.so (match with your OS) to tools/bindings-generator/libclang/, refer to tools/win-ci/genbindings.ps1

On Windows:

  • Make sure that you have installed android-ndk-r19c or later.
  • Install python3.7+(64bit) from https://www.python.org with Add to 'PATH' install option.
  • Install python dependices by pip.
    pip install PyYAML Cheetah3
  • Go to "tools/tolua" folder, and run "genbindings.py". The generated codes will be under "cocos\scripting\auto-generated\lua-bindings".

On MAC:

  • Use Homebrew to install the python and use pip install the python dependencies.
    brew install python3
  • Install python dependices by pip3.
    pip3 install PyYAML Cheetah3
  • Download NDK 64bit r19c or later from Android NDK
  • Run
    export ANDROID_NDK=/path/to/android-ndk-19c
    ./genbindings.py

On Ubuntu Linux 22.04 64bit

  • Install python
    sudo apt-get install python3
  • Install python dependices by pip.
    sudo apt-get install python3-pip
    sudo pip3 install PyYAML Cheetah3
  • Download NDK 64bit r19c or later from Android NDK
  • Go to "tools/tolua", Run
    export ANDROID_NDK=/path/to/android-ndk-r19c
    python3 ./genbindings.py