简体   繁体   中英

install lua 5.4 binaries and libraries step by step on Windows

I don't know how to install this for this little chunck of code to work, thanks in advance:

The code works in LuaForWindows 5.1, because all libraries are included. But not in 5.4 as I don't know how to install libraries: Latest LuaForWindows is up to 5.1 only...

require( "iuplua" )
ml = iup.multiline
    {
    expand="YES",
    value="Quit this multiline edit app to continue Tutorial!",
    border="YES"
    }
dlg = iup.dialog{ml; title="IupMultiline", size="QUARTERxQUARTER",}
dlg:show()
print("Exit GUI app to continue!")
iup.MainLoop()

To make just that Lua code to work with Lua 5.4 you can use the IUP tools pre-compiled binaries which include Lua and all necessary files.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM