[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: VC++ 6 and extern C not working
- From: Ryan Leigh <ryan@...>
- Date: Tue, 16 Mar 2004 16:22:18 -0800
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