lua-users home
lua-l archive

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


As in the last message...
> 
> Hi,	
> 
> If I run main.lua from the command line init is executed without
> complaints. Running the (compiled and linked) c file generates the error:
> lua error: call expression not a function
> Error in lua_callfunction. Error is 1.

Try adding 
  lua_iolibopen();
after lua_open()

Good luck
Siome
-- 
----------------------------
Siome Klein Goldenstein
siome@cis.upenn.edu
http://www.cis.upenn.edu/~siome