std.socket with GDC

Vladimir Panteleev vladimir at thecybershadow.net
Sat Feb 25 10:27:28 PST 2012


On Friday, 24 February 2012 at 19:15:26 UTC, Mars wrote:
> Hello everybody.
>
> When trying to compile a program using GDC (Windows), which 
> includes an import std.socket, I get a lot "undefined 
> reference"s, like
>>undefined reference to `WSAGetLastError at 0'

Try linking with libws2_32.a.


More information about the Digitalmars-d-learn mailing list