[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Installing IUP Library
- From: aditya siram <aditya.siram@...>
- Date: Tue, 7 Dec 2010 08:37:14 -0600
In my IUP download the closest thing I have to an "iuplua" module is a
library called "libiuplua51.so". I assume this is the right one so I
just set LUA_CPATH  to point to that library and now I get the
following error message :
lua: attempt to call a nil value
[C]: in function 'require'
iup/html/examples/Lua/frame.wlua:5: in main chunk
Thanks for your feedback!
 export LUA_CPATH=";;$LUA_CPATH;$PWD/lib?51.so"
2010/12/7 Mateusz Czaplinski <email@example.com>:
> On Tue, Dec 7, 2010 at 4:43 AM, aditya siram <firstname.lastname@example.org> wrote:
>> set my LUA_PATH variable . But when I try to run an example  I
>> no file
> According to http://www.lua.org/manual/5.1/manual.html#pdf-package.loaders...
> "A path is a sequence of templates separated by semicolons."
> ...so it seems even on Linux you shouldn't use ':' (as you seem to)
> but ';' to separate entires in your LUA_PATH.
> hope this helps.
> Mateusz Czapliński