std.net.curl

yawniek via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Aug 17 06:14:29 PDT 2015


On Monday, 17 August 2015 at 13:04:31 UTC, tired_eyes wrote:
> On Monday, 17 August 2015 at 12:58:54 UTC, Adam D. Ruppe wrote:
>> On Monday, 17 August 2015 at 12:52:37 UTC, tired_eyes wrote:
>>> Hovewer, "dmd app.d" spits a whole bunch of strange error 
>>> messages:
>>
>> try "dmd -lcurl app.d" and see if that helps.
>
> Error: unrecognized switch '-lcurl'

do you use dub? if so, did you add
"libs": ["curl"]
to your dub.json?

if that doesn't help, please post the output of curl-config.
e.g.
curl-config --libs --built-shared --prefix --static-libs



More information about the Digitalmars-d-learn mailing list