[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: unresolved external
- From: "Vincent Penquerc'h" <vincent@...>
- Date: Tue, 11 Jul 2000 12:09:32 +0100
> > 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
--
Lyrian