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.

Compiling with Visual Studio 2026

From: Laurent Sabourin via curl-library <curl-library_at_lists.haxx.se>
Date: Wed, 2 Sep 2026 09:57:07 -0400

Laurent Sabourin <laurent.sabourin.74_at_gmail.com>
9:54 AM (2 minutes ago)
to ary
Hello,

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

I changed it to the more lax check:

#if !defined(_MSC_VER)
#error This manual configuration requires MSVC (IDE Project builds)
#endif

After that all compile correctly. Should I be concerned with that change?
Is there a reason to restrict the version of MSVC?

Thanks,

-- 
Laurent Sabourin


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