iuplua test on luaforwindows

SW

https://github.com/rjpcomputing/luaforwindows/releases

Steps

Install lua for windows

write a bat file

set LUA_PATH=%cd%lua?.lua;%LUA_PATH%
set LUA_CPATH=%cd%clibs?.dll;%LUA_CPATH%
lua "E:Program Files (x86)Lua5.1examplesiuputton.wlua"

Test fail!

E:Program Files (x86)Lua5.1>lua "E:Program Files (x86)Lua5.1examplesiuputton.wlua"
lua: error loading module 'iuplua' from file 'E:Program Files (x86)Lua5.1clibsiuplua.dll':
        The specified module could not be found.

stack traceback:
        [C]: ?
        [C]: in function 'require'
        ...Program Files (x86)Lua5.1examplesiuputton.wlua:4: in main chunk
        [C]: ?
原文地址:https://www.cnblogs.com/cutepig/p/10106162.html