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)\Lua\5.1\examples\iup\button.wlua"
Test fail!
E:\Program Files (x86)\Lua\5.1>lua "E:\Program Files (x86)\Lua\5.1\examples\iup\button.wlua" lua: error loading module 'iuplua' from file 'E:\Program Files (x86)\Lua\5.1\clibs\iuplua.dll': The specified module could not be found. stack traceback: [C]: ? [C]: in function 'require' ...Program Files (x86)\Lua\5.1\examples\iup\button.wlua:4: in main chunk [C]: ?