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]: ?

 

posted on 2018-12-12 00:07  cutepig  阅读(323)  评论(0编辑  收藏  举报

导航