lua-users home
lua-l archive

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

On 6/6/06, Luiz Henrique de Figueiredo <> wrote:
> I have problems running even the most basic Lua/C interface example
> from the Lua book at:

PiL1 is about Lu 5.0. The protocol for calling luaopen_* changed in 5.1. See

Thanks for the pointer but that's not very clear to me (I am not very
skilled in C). It says "these functions have to be called from Lua"
but then I get an error: "attempt to call global 'luaopen_base' (a nil

Could you please point me to any working complete example that is
correct for Lua5.1? Any at all? I can learn by analyzing that.

Frantisek Fuka (yes, that IS my real name)
(and it's pronounced "Fran-tjee-shek Foo-kah")
My E-Mail:
My Homepage:
My blog:
My Jabber/GoogleTalk ID:
My ICQ: 2745855