1.下载并解压LuaJIThttp://luajit.org/download.html 2.修改为静态编译打开LuaJIT目录srcmsvcbuild.bat搜索替换LJARCH=x64为LJARCH=x86搜索替换/MD为/MT 3.使用VS命令提示符cd /d LuaJIT目录src编译DLL:msvcbuild.bat编译LIB:msvcbuild.bat static