How compile program with curl support?

ilya-stromberg ilya-stromberg-2009 at yandex.ru
Thu Aug 22 06:15:37 PDT 2013


On Thursday, 22 August 2013 at 10:24:49 UTC, David wrote:
>> What should I do to get curl support?
>> OS is Linux Ubuntu 12.10.
>
> Install libcurl-dev
> http://packages.ubuntu.com/de/lucid/libcurl-dev
>
> Add "-L-lcurl" to your commandline

Thanks for help. Correct answer was here:
http://forum.dlang.org/post/mailman.1089.1350735488.5162.digitalmars-d@puremagic.com

$ dmd -L-lphobos2 -L-lcurl main.d

As I can see by google, this is common issue. How can we document 
the compilation proses?


More information about the Digitalmars-d-learn mailing list