How do I compile a program with curl lib on Windows?
    Neto via Digitalmars-d-learn 
    digitalmars-d-learn at puremagic.com
       
    Thu Aug 10 13:57:15 PDT 2017
    
    
  
On Thursday, 10 August 2017 at 20:29:53 UTC, Neto wrote:
> Could someone give me an example to how do I compile a program 
> with support to curl on Windows? Where do I find the .lib for 
> link against my D programa under Windows or do I need to 
> compile it myself? I downloaded the lib versions at curl's 
> official web site but I find either .a files or .h in the lib 
> folder
UPDATE:
Found the links right here:
> https://github.com/HazeProductions/libcurl
Compiling as:
> dmd  -dw -m32 -L-lcurl app.d 
> -I"C:\Users\neto\Desktop\static-debug-x86"
I get the following error:
> OPTLINK: Warning 9: Unknow option: LCURL
What am I missing? is the library name wrong/couldn't be found or 
what else?
    
    
More information about the Digitalmars-d-learn
mailing list