lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

On Wednesday 09 February 2011 15:06:31 Geoff Leyland wrote:
> On 10/02/2011, at 9:02 AM, Steve Litt wrote:
> > Hi all,
> >
> > I may (or may not) have installed IUP on my computer. Could someone point
> > me to the simplest possible IUP app?
> The dialog example is pretty short:
> require("iuplua")
> vbox = iup.vbox { iup.label {title="Label"}, iup.button { title="Test" } }
> dlg = iup.dialog{vbox; title="Dialog"}
> dlg:show()
> iup.MainLoop()

Thanks Geoff,

That worked. Oh, not at first -- it errored out like this:

slitt@mydesk:~$ ./testiup.lua 
/usr/bin/lua: error loading module 'iuplua' from file 
        /lib/tls/i686/cmov/ version `GLIBC_2.11' not found (required 
by /usr/lib/
stack traceback:
        [C]: ?
        [C]: in function 'require'
        ./testiup.lua:2: in main chunk
        [C]: ?

So I RTFMed and found it's a Ubuntu 9.10 library incompatibility, so instead 
of using IUP 3.3 I went back to 3.0 (from January 2010) and it worked 

Now that I've got SOMETHING working I can build up from there, so thanks for 
the minimalist program!


Steve Litt
Recession Relief Package