lua-users home
lua-l archive

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


Hi,

I just installed lua on a debian sid system to start playing again, getting lua50 and lua50-doc, but it didn't come with lua.h or if it did it can't be found. Has anyone else installed the deb and if so did you have the same problem?

I don't use C regularly and am only playing with lua in C to get a feel for it, until I can bind to it, so perhaps I'm doing something wrong?


#include <stdio.h>
#include <lua.h>

int main (void)
{
    char line[BUFSIZ];
    lua_State *L = lua_open(0);
    ...
}


Cheers,
Chris