lua-users home
lua-l archive

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


> src/tom.c:486: warning: implicit declaration of function ?luaL_newstate?
> src/tom.c:486: warning: assignment makes pointer from integer without a cast
> src/tom.c:487: warning: implicit declaration of function ?luaL_openlibs?

You need to add this:

#include "lua.h"
#include "lauxlib.h"