On Thursday, 17 January 2019 at 20:05:27 UTC, Head Scratcher wrote:
On Monday, 14 January 2019 at 18:45:27 UTC, Head Scratcher wrote:
The following text is in the source code for curl.d:

Windows x86 note:
A DMD compatible libcurl static library can be downloaded from the dlang.org $(LINK2 http://downloads.dlang.org/other/index.html, download archive page).

I downloaded that static library. How do I link it into my D project? Is it something I can put into dub.json?

It would be nice to compile my app into one EXE file including std.curl and curl.lib. Does nobody know how to do this?

You do not need to specify curl.lib but you have to bundle your executable with curl.dll. Recent Windows 10 versions might even come with curl.dll but I am not 100% sure.

Kind regards
Andre

Reply via email to