cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Compiling libcurl on Windows

From: Paul Harris <harris.pc_at_gmail.com>
Date: Tue, 24 Aug 2010 09:20:08 +0800

I recently compiled libcurl for windows, and the dsw doesn't work well for
me as you can't choose SSL, SSPI and other features.

Instead, use nmake and one of the Makefiles in there (there is a makefile
for vc9, for example).

There is documentation in the doc folder, and documentation in the Makefile
itself.

For the lib, compile the Makefile in the lib directory. For curl.exe, first
compile the lib and then compile the makefile in the src directory.

On 24 August 2010 07:57, Alan Wolfe <alan.wolfe_at_gmail.com> wrote:

> Heya!
>
> Compiling libcurl in windows for me was amazingly easy.
>
> I just downloaded the source and there was a dsw file.
>
> I opened it and MSVC said it was old and needed to be converted and i said
> ok.
>
> After that i just selected what flavor (Debug or Release and Static or
> Dynamic) and it compiled straight away without warnings or errors and
> made the .dll or .lib file i wanted (they were in the lib directory).
>
> It worked amazingly well and was very easy. I used MSVC express even.
>
> That was without ssl support but seeing as you have libssl already
> built you can probably figure out how to hook it in pretty easily
>
> On Mon, Aug 23, 2010 at 4:39 PM, Candid Shot <candid_shot_1_at_yahoo.com>
> wrote:
> > Greetings. This must be a very common question.
> >
> > Could somebody please point me to a document which lists how to compile
> > libcurl.
> >
> > I have seen something for (ssh and libcurl).
> >
> > But just wanting to check what is the right (or official) way to build
> libcurl
> >
> > How do you configure options? Do you run a perl script?
> >
> > I don't want to compile in kerberos support. No ldap.
> >
> > Just need libssl (which I have successfully compiled) support.
> >
> > Thanks,
> >
> > -Lakhinder
> >
> >
> >
> > -------------------------------------------------------------------
> > List admin: http://cool.haxx.se/list/listinfo/curl-library
> > Etiquette: http://curl.haxx.se/mail/etiquette.html
> >
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-08-24