R
R
rovied2015-12-10 14:52:03
Lua
rovied, 2015-12-10 14:52:03

How to install iup library for lua?

I came across this article. habrahabr.ru/post/149857 I wanted to try writing GUI applications in lua. But something does not work at all to install iup. Please explain in detail how to install it.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Lerg, 2015-12-10
@Lerg

Judging by the article, you just need to install this package
https://code.google.com/p/luaforwindows/
And there will immediately be Lua and a bunch of libraries for it, including iup.

R
rovied, 2015-12-10
@rovied

Package installed
Tried to run test program
require("iuplua")
iup.Message("Hello World 1","Hello world from IUP.")
-- to be able to run this script inside another context
if (iup.MainLoopLevel()= =0) then
iup.MainLoop()
iup.Close()
endc2c9a7500cfb476cbfb8d3ccd618bf49.png0e619467e28c4f87963630e700f03fba.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question