[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Calling Lua Func From C
- From: Siome Klein Goldenstein <siome@...>
- Date: Tue, 29 Dec 1998 16:20:30 -0500 (EST)
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