Skip to content

hackself/tolua_runtime

 
 

Repository files navigation

tolua_runtime

Build
pc: build_win32.sh build_win64.h (mingw + luajit2.0.4)
android: build_arm.sh build_x86.sh (mingw + luajit2.0.4)
mac: build_osx.sh (xcode + luac5.1.5 luajit can't run in unity5)
ios: build_ios.sh (xcode + luajit2.1 beta)

NDK 版本:android-ndk-r10e 默认安装到 D:/android-ndk-r10e
https://dl.google.com/android/repository/android-ndk-r10e-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

================= 设置环境变量 D:\android-ndk-r10e\prebuilt\windows-x86_64\bin;D:\tolua_runtime\mysys\mingw32\bin;D:\android-ndk-r10e;D:\tolua_runtime\mysys\usr\bin
win32 使用 mingw32编译 win64 使用 mingw64编译 android 使用 mingw32编译 注意不同平台的换行符的不同引起的编译报错

About

tolua runtime library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 48.4%
  • C 47.0%
  • Shell 1.9%
  • HTML 1.7%
  • Assembly 0.5%
  • Lua 0.3%
  • Other 0.2%