You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
looks like the compiler/linker is expecting a name-mangled (i.e. C++) symbol. There's probably a extern "C" { ... } missing around the LuaSocket include (or a commandline flag to force plain C compilation).
Btw., this
luaopen_socket_core(NULL);
will crash horribly. Also, IIRC, the luaopen_* functions are supposed to be lua_called.
Hi, I'm trying to add a LuaSocket to my project but it looks like .lib is ignoring it.
I use Windows and the compiler from MSVC Compiler, I also tried to compile without .dll just .lib, but nothing. Can anyone help me?
The text was updated successfully, but these errors were encountered: