curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support. 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 Daniel himself.

Re: Compiling with Visual Studio 2026

From: Dimitry Andric via curl-library <curl-library_at_lists.haxx.se>
Date: Wed, 2 Sep 2026 16:12:28 +0200

On 2 Sep 2026, at 15:57, Laurent Sabourin via curl-library <curl-library_at_lists.haxx.se> wrote:
>
> I am compiling curl-8.22.0 with visual studio 2026 (v145) and I get the following errors:
>
> This manual configuration requires MSVC 2010-2013 (IDE Project builds)
>
> I found it is because of the following lines in config-win32.h:
>
> #if !defined(_MSC_VER) || _MSC_VER > 1800
> #error This manual configuration requires MSVC 2010-2013 (IDE Project builds)
> #endif

See https://github.com/curl/curl/pull/22595 . The description of config-win32.h was changed to "Handcrafted config file for building via Visual Studio IDE Project Files", which was apparently always its purpose.

If you build with the configure script or CMake, a curl_config.h will be generated instead.

-Dimitry

-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2026-09-02