在Windows下使用MinGW64,或者TDM64-GCC进行编译,本来以为
make mingw就行了,没想到出了点小问题,让人费解:
refer http://lua-users.org/lists/lua-l/2006-12/msg00255.html
解决方法也是太简单了:
* build $ cd $LUA_DIR/src $ make mingw $ make luac * install (replace /mingw with your installation directory) $ cp lua.h luaconf.h lualib.h lauxlib.h /mingw/include/ $ cp liblua.a /mingw/lib/ $ cp lua.exe luac.exe lua51.dll $WINDIR/system32