lua-users home
lua-l archive

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


> and found the solution of wrapping the headers in extern "C" {...}.

You need to wrap the headers when included by all the .c files as way. 
 The easiest thing to do is put the extern "C" in lua.h itself.

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

This indicates that something is still trying to link against it in 
C++ form.

Brian