lua-users home
lua-l archive

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

> > the statement
> >    "lua_State *L = lua_newstate(NULL);"
> > brings about
> >    "unresolved external symbol "
> Lua is written in C, and you're probably trying to use it in C++, which
> means you have to use extern "C" when including the Lua headers.  For
> example:

Oops, sorry, I misread the message. I thought the unresolved
external was lua_State. Sorry for the noise