[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: Silly question
- From: "Alberto Demichelis" <alberto@...>
- Date: Wed, 21 Nov 2001 17:40:12 +0100
extern "C" {
#include "lua.h"
}
ciao
Alberto
> -----Original Message-----
> From: owner-lua-l@tecgraf.puc-rio.br
> [mailto:owner-lua-l@tecgraf.puc-rio.br]On Behalf Of John S. Miley
> Sent: Wednesday, November 21, 2001 5:32 PM
> To: Multiple recipients of list
> Subject: Silly question
>
>
>
> Sorry to bother you folks, but I'm having a bit of trouble linking a
> skeleton app I'm working on, and the (I'm sure) obvious answer is
> eluding me
> at the moment.
>
> I've specified lua.lib and lualib.lib to be linked in with the app, and am
> #including "lua.h"; upon compiling, I'm getting this error:
>
> Linking...
> LuaTest.obj : error LNK2001: unresolved external symbol "void __cdecl
> lua_close(struct lua_State *)" (?lua_close@@YAXPAUlua_State@@@Z)
> LuaTest.obj : error LNK2001: unresolved external symbol "struct
> lua_State *
> __cdecl lua_open(int)" (?lua_open@@YAPAUlua_State@@H@Z)
> Debug/LuaTest.exe : fatal error LNK1120: 2 unresolved externals
>
> Thanks for your time!
>
> --jsm
>
>
>