lua-users home
lua-l archive

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


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