lua-users home
lua-l archive

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


You must include (link) WSOCK32.LIB or WS2_32.LIB to your project.

/Erik

----- Original Message -----
From: "martin" <martin@traumwind.de>
To: "Multiple recipients of list" <lua-l@tecgraf.puc-rio.br>
Sent: Friday, June 08, 2001 4:01 PM
Subject: need help compiling...


> Hello kind Lua-enthusiasts!
> I'm currently trying to compile Lua 4.0 with luasockets 1.2.1 on win2k
using
> MSVC++6.0.
> I can compile the standard Lua-interpreter without problems, and also
> successfully build a static lib for luasocket.
>
> But when I bring both together (including luasocket.h and calling
> lua_socketlibopen(L)), I get Linker-errors complaining about e,g,:
> 'unresolved external symbol __imp__sendto@24' etc. (25 errors)
>
> Can anyone give me a hint what I'm doing wrong?
>
> Any hints, pointers etc. very welcome!
>
> greetings, Martin Spernau
>
>