2023年11月29日发(作者:)

Unity——编译tolua

从mingw的shell执⾏build_时报错。

$ /h/Lua/tolua_runtime-1.0.8.584/build_

/h/Lua/tolua_runtime-1.0.8.584/build_: 5 :cd: luajit-2.1: No such file or directory

mingw32-make: *** No rule to make target 'clean'. Stop.

mingw32-make: *** No targets specified and no makefile found. Stop.

cp: ⽆法获取"src/libluajit.a" 的⽂件状态(stat): No such file or directory

mingw32-make: *** No rule to make target 'clean'. Stop.

: error: tolua.c: No such file or directory

: error: int64.c: No such file or directory

: error: uint64.c: No such file or directory

: error: pb.c: No such file or directory

: error: lpeg.c: No such file or directory

-- shell:

$ ./build_

编译成功,⽣成的dll在 下。

tolua源码路径/Plugins/对应平台/

CC lj_ctype.o

CC lj_cdata.o