/tolua_runtime

tolua runtime library

Primary LanguageCMIT LicenseMIT

tolua_runtime

Build
lua5.1.5
windows pc: build_win32.sh build_win64.h (mingw + luajit2.1.0-beta3) choose 1
linux pc(ubuntu18.04 amd64): build_linux32.sh build_linux64.h (gcc + luajit2.1.0-beta3) choose 1
android: build_arm.sh build_x86.sh (mingw + luajit2.1.0-beta3) choose 1
mac: build_osx.sh (xcode + luac5.1.5 for luajit can't run on unity5) choose 1
ios: build_ios.sh (xcode + luajit2.1.0-beta3) choose 1
lua5.3
windows pc: build_win32.sh build_win64.h (mingw + lua5.3) choose 2
linux pc: build_linux32.sh(ubuntu16.04 i386) build_linux64.h(ubuntu18.04 amd64) (gcc + lua5.3) choose 2
android: build_arm.sh build_x86.sh (mingw + lua5.3) choose 2
mac: build_osx.sh (xcode + lua5.3 ) choose 2
ios: build_ios.sh (xcode + lua5.3 ) choose 2

NDK 版本:android-ndk-r16b 默认安装到 D:/android-ndk-r16b
https://dl.google.com/android/repository/android-ndk-r16b-windows-x86_64.zip
Msys2配置说明
https://github.com/topameng/tolua_runtime/wiki
配置好的Msys2下载
https://pan.baidu.com/s/1c2JzvDQ

Libs

cjson
https://github.com/mpx/lua-cjson
protoc-gen-lua
https://github.com/topameng/protoc-gen-lua
LuaSocket
https://github.com/diegonehab/luasocket
struct
http://www.inf.puc-rio.br/~roberto/struct/
lpeg
http://www.inf.puc-rio.br/~roberto/lpeg/lpeg.html

关于mac上编译iOS 32位runtime库

  • 苹果系统升级到xcode10后,移除了编译32位lib的支持,如果有需求编译支持32位版本的runtime库,请用xcode9.4.1编译,目前默认原生的编译好的是同时支持32、64位的runtime