lua-users home
lua-l archive

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


Hello Everyone,

Ok, so I am absolutely lost. I am making a program and I am trying to
get Lua embedded. I had the problem with mangled C++ namespaces and
found the solution of wrapping the headers in extern "C" {...}. With
or without this wrapper I get the same error:

unresolved external symbol "struct lua_State * __cdecl lua_open(void)" (?lua_open@@YAPAUlua_State@@XZ)

So, I am thinking there is something else wrong. I have the libraries
in Settings/Link Tab and VC++ seems to be finding the included files
ok. Any suggestions?

Thanks for any help,
Ryan