lua-users home
lua-l archive

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


Hello Brian,

YES! It worked! Thank you!


Ryan



Tuesday, March 16, 2004, 4:40:33 PM, you wrote:

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

BH> You need to wrap the headers when included by all the .c files as way. 
BH>  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)

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

BH> Brian