I am trying to get IUP to work on Ubuntu. I downloaded the binaries from sourceforge, and the libraries seem to be in / usr / lib / libiup * .so, but when I write the script like this:
require("iuplua")
iup.Message('Testing App!', 'Finished Successfully!')
I get an error message:
lua: attempt to call a nil value
stack traceback:
[C]: ?
[C]: in function 'require'
test.lua:1: in main chunk
[C]: ?
Looking at this, I saw a message saying that someone seemed to fix it - their "LD_LIBRARY_PATH did not point to the correct cd and im directories" or something like that. I cannot fix my problem with the environment variable LD_LIBRARY_PATH. I saw another 2008 note saying that “IUPLua binaries have hard-coded lua bytecode causing an error.” I tried to compile the sources, but I get errors related to cd.h.
Any help would be greatly appreciated. Thank!