Cannot build ws2_32.lib

Andre Tampubolon andre at lc.vlsm.org
Thu Aug 2 09:27:06 PDT 2012


I just remembered that the official dmd build has those libs. So I grab 
them and put them into C:\dmd\lib.

Still, the same error still happens. Maybe because I build dmd, 
druntime, and phobos from git?

On 8/2/2012 10:59 PM, Andre Tampubolon wrote:
>
> When I tried to build it (I'm on Windows, anyway), I got this:
> C:\Users\CSL-NB-064\Codes\D>dmd hostname.d
> OPTLINK (R) for Win32  Release 8.00.5
> Copyright (C) Digital Mars 1989-2009  All rights reserved.
> http://www.digitalmars.com/ctg/optlink.html
> ws2_32.lib
>   Warning 2: File Not Found ws2_32.lib
> C:\dmd\lib\phobos.lib(socket)
>   Error 42: Symbol Undefined _WSAIoctl at 36
> --- errorlevel 1




More information about the Digitalmars-d-learn mailing list