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

 

相关文章:

  • 2021-05-21
  • 2021-10-01
  • 2022-12-23
  • 2021-10-15
  • 2021-11-20
  • 2021-09-12
  • 2021-09-15
猜你喜欢
  • 2022-01-17
  • 2022-01-21
  • 2021-10-09
  • 2021-08-26
  • 2021-09-16
  • 2021-08-01
  • 2021-08-27
相关资源
相似解决方案