lua-users home
lua-l archive

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


On 23-02-2011 09:51, Dirk Laurie wrote:
> Being curious to see Steve Litt's presentation, I installed IUP.
> Not too much joy so far.
> 
> My default lua is lua5.1 as supplied in Ubuntu Lucid.
> I downloaded iup-3.4_Linux26g4_lib.tar.gz into a new directory.
> No instructions, but three files with suggestive names which
> I ran in the following order (a typical line of output is shown):
> 
>     sudo ./install
> ...
> `libiuplua51.so' -> `/usr/lib/libiuplua51.so'
> ...
>     sudo ./install_dev
> ...
> `include/iup.h' -> `/usr/include/iup/iup.h'
> ...
>     sudo ./config_lua_module
> ...
> `iuplua.so' -> `/usr/lib/libiuplua51.so'
> ...
> 
> Then I tried it out, not getting past square one, thus:  
> 
> $ lua
> Lua 5.1.4  Copyright (C) 1994-2008 Lua.org, PUC-Rio
>> require"iuplua"
> attempt to call a nil value
> stack traceback:
>     [C]: ?
>     [C]: in function 'require'
>     stdin:1: in main chunk
>     [C]: ?
>>
> 
> Dirk
> 

I think you need a different interpreter to use iup. wlua?