[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- 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 [1] to point to that library and now I get the
following error message :
lua: attempt to call a nil value
stack traceback:
[C]: ?
[C]: in function 'require'
iup/html/examples/Lua/frame.wlua:5: in main chunk
[C]: ?
Thanks for your feedback!
-deech
[1] export LUA_CPATH=";;$LUA_CPATH;$PWD/lib?51.so"
2010/12/7 Mateusz Czaplinski <czapkofan@gmail.com>:
> On Tue, Dec 7, 2010 at 4:43 AM, aditya siram <aditya.siram@gmail.com> wrote:
>> set my LUA_PATH variable [2]. But when I try to run an example [3] I
>> [...]
>> no file
>> '/usr/local/lib/lua/5.1/iuplua.so:/home/deech/Programming/Lua/IUP33/iuplua.so'
>
> 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.
> greetz
> Mateusz Czapliński
>
>