curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Building curl on windows with msys2

From: Morgan via curl-library <>
Date: Mon, 3 May 2021 14:22:38 +0100

Hi Daniel,
Thank you for the feedback.
I tried that after doing a :
git clone
and it does not work. How do I build the github version?
Now if I download in and
execute the command you gave me, it does work.
However I don't see the 32 bits and 64 bits version?
I see that there is a libcurl.a in curl-7.76.1\lib\.libs is that for 64
bits only ? (I am running MINGW64)
Do I have to do the same with MINGW32?
I believe that if I want to build with --with-openssl, I will have to build
openssl first and set the correct directory like
set OPENSSL_PATH=c:\openssl-1.0.2c
Sorry if my questions seem stupid, I am very new to all this.
Thank you
Best regards,

On Mon, 3 May 2021 at 12:04, Daniel Stenberg <> wrote:

> On Mon, 3 May 2021, Morgan via curl-library wrote:
> > I was wondering if someone could provide the steps to build libcurl on
> > windows with msys2 in 32 and 64 bits?
> What did you try?
> I built curl on msys2 just a few weeks ago and it was as straight-forward
> as
> anyone could wish for:
> ./configure
> make
> make install
> --
> /
> | Commercial curl support up to 24x7 is available!
> | Private help, bug fixes, support, ports, new features
> |

Received on 2021-05-03