I'm having compiling problems

I tried to compile aseprite multiple times but it gives me this:

FAILED: third_party/curl/lib/CMakeFiles/libcurl.dir/nonblock.c.obj
C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1437~1.328\bin\Hostx64\x64\cl.exe  /nologo -DBUILDING_LIBCURL -DCMARK_STATIC_DEFINE -DCURL_HIDDEN_SYMBOLS -DHAVE_CONFIG_H -DNDEBUG -DPNG_NO_MMX_CODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_USRDLL -D_WIN32_WINNT=0x0600 -IC:\aseprite\third_party\zlib -IC:\aseprite\build\third_party\zlib -IC:\aseprite\third_party\libpng -IC:\aseprite\build\third_party\libpng -IC:\aseprite\third_party\tinyxml -IC:\aseprite\third_party\pixman\pixman -IC:\aseprite\build -IC:\aseprite\third_party\giflib -IC:\aseprite\third_party\jpeg -IC:\aseprite\third_party\curl\include -IC:\aseprite\third_party\simpleini -IC:\aseprite\third_party\. -IC:\aseprite\build\third_party\curl\lib\..\include -IC:\aseprite\third_party\curl\lib\.. -IC:\aseprite\third_party\curl\lib\..\include -IC:\aseprite\build\third_party\curl\lib\.. -IC:\aseprite\third_party\curl\lib -IC:\aseprite\build\third_party\curl\lib /DWIN32 /D_WINDOWS /W4 /MP /Zi /O2 /Ob1 /DNDEBUG -MT /showIncludes /Fothird_party\curl\lib\CMakeFiles\libcurl.dir\nonblock.c.obj /Fdthird_party\curl\lib\CMakeFiles\libcurl.dir\libcurl.pdb /FS -c C:\aseprite\third_party\curl\lib\nonblock.c
C:\aseprite\third_party\curl\lib\nonblock.c(83): fatal error C1189: #error:  "no non-blocking method was found/used/set"
[10/1308] Building C object third_party\curl\lib\CMakeFiles\libcurl.dir\setopt.c.obj
ninja: build stopped: subcommand failed.

I don’t know what to do as I’m not familiar with coding, my guess is that it doesn’t find the nonblock.c.obj as it is not in C:/aseprite/build/third_party/curl/lib/CMakeFiles/libcurl.dir, or maybe I’m getting everything wrong.

I tried installing aseprite v1.3.2 on Windows 10 64bit with Microsof Visual Studio 2022 with Desktop development with C++ item + Windows 10.0.18362.0 SDK and skia aseprite branch-m102, the latest version of CMake and latest version of Ninja too, wich I all got from the links in the INSTALL.md file

I also tried this tutorial, wich is why I inputted C:\Users\Administrator>cl

This is everything that I tried to do on cmd in case it’s important

C:\Users\Administrator>call "C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools\VsDevCmd.bat" -arch=x64
**********************************************************************
** Visual Studio 2022 Developer Command Prompt v17.7.5
** Copyright (c) 2022 Microsoft Corporation
**********************************************************************

C:\Users\Administrator>cl
Microsoft (R) C/C++ Optimizing Compiler versione 19.37.32825 per x64
Copyright (C) Microsoft Corporation. Tutti i diritti  sono riservati.

uso: cl [ opzione... ] nomefile... [ /link opzione di collegamento... ]

C:\Users\Administrator>cd C:/aseprite

C:\aseprite>cd build

C:\aseprite\build>cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLAF_BACKEND=skia -DSKIA_DIR=C:\deps\skia -DSKIA_LIBRARY_DIR=C:\deps\skia\out\Release-x64 -DSKIA_LIBRARY=C:\deps\skia\out\Release-x64\skia.lib -G Ninja ..
-- Could NOT find CCache (missing: CCache_EXECUTABLE)
CMake Deprecation Warning at third_party/zlib/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at third_party/libpng/CMakeLists.txt:33 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at third_party/libpng/CMakeLists.txt:34 (cmake_policy):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- curl version=[7.79.1-DEV]
-- Could NOT find Perl (missing: PERL_EXECUTABLE)
-- Enabled features: SSL IPv6 unixsockets libz AsynchDNS Largefile SSPI alt-svc HSTS SPNEGO Kerberos NTLM
-- Enabled protocols: DICT FILE FTP FTPS GOPHER GOPHERS HTTP HTTPS IMAP IMAPS LDAP MQTT POP3 POP3S RTSP SMB SMBS SMTP SMTPS TELNET TFTP
-- Enabled SSL backends: Schannel
-- Version: 10.0.0
-- Build type: RelWithDebInfo
CMake Deprecation Warning at third_party/cmark/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at third_party/json11/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at third_party/libarchive/CMakeLists.txt:2 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR)
CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (LIBGCC)
  does not match the name of the calling package (LibGCC).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  third_party/libarchive/build/cmake/FindLibGCC.cmake:17 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  third_party/libarchive/CMakeLists.txt:1258 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Could NOT find LIBGCC (missing: LIBGCC_LIBRARY)
-- Could NOT find PCREPOSIX (missing: PCREPOSIX_LIBRARY PCRE_INCLUDE_DIR)
CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (PCRE) does
  not match the name of the calling package (PCREPOSIX).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  third_party/libarchive/build/cmake/FindPCREPOSIX.cmake:23 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  third_party/libarchive/CMakeLists.txt:1263 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Could NOT find PCRE (missing: PCRE_LIBRARY)
-- Extended attributes support: none
-- ACL support: none
-- laf backend: skia
-- laf zlib: zlibstatic
-- laf pixman: pixman
-- laf freetype: C:/deps/skia/out/Release-x64/freetype2.lib
-- laf harfbuzz: C:/deps/skia/out/Release-x64/harfbuzz.lib
-- skia dir: C:/deps/skia
-- skia library: C:/deps/skia/out/Release-x64/skia.lib
-- skia library dir: C:/deps/skia/out/Release-x64
-- aseprite libwebp: C:/deps/skia/out/Release-x64/libwebp.lib
CMake Deprecation Warning at src/observable/CMakeLists.txt:4 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at src/clip/CMakeLists.txt:4 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at src/undo/CMakeLists.txt:4 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Configuring done (4.7s)
-- Generating done (2.1s)
-- Build files have been written to: C:/aseprite/build

C:\aseprite\build>ninja aseprite
[1/1308] Building C object third_party\curl\lib\CMakeFiles\libcurl.dir\nonblock.c.obj
FAILED: third_party/curl/lib/CMakeFiles/libcurl.dir/nonblock.c.obj
C:\PROGRA~1\MICROS~3\2022\COMMUN~1\VC\Tools\MSVC\1437~1.328\bin\Hostx64\x64\cl.exe  /nologo -DBUILDING_LIBCURL -DCMARK_STATIC_DEFINE -DCURL_HIDDEN_SYMBOLS -DHAVE_CONFIG_H -DNDEBUG -DPNG_NO_MMX_CODE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_SECURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_USRDLL -D_WIN32_WINNT=0x0600 -IC:\aseprite\third_party\zlib -IC:\aseprite\build\third_party\zlib -IC:\aseprite\third_party\libpng -IC:\aseprite\build\third_party\libpng -IC:\aseprite\third_party\tinyxml -IC:\aseprite\third_party\pixman\pixman -IC:\aseprite\build -IC:\aseprite\third_party\giflib -IC:\aseprite\third_party\jpeg -IC:\aseprite\third_party\curl\include -IC:\aseprite\third_party\simpleini -IC:\aseprite\third_party\. -IC:\aseprite\build\third_party\curl\lib\..\include -IC:\aseprite\third_party\curl\lib\.. -IC:\aseprite\third_party\curl\lib\..\include -IC:\aseprite\build\third_party\curl\lib\.. -IC:\aseprite\third_party\curl\lib -IC:\aseprite\build\third_party\curl\lib /DWIN32 /D_WINDOWS /W4 /MP /Zi /O2 /Ob1 /DNDEBUG -MT /showIncludes /Fothird_party\curl\lib\CMakeFiles\libcurl.dir\nonblock.c.obj /Fdthird_party\curl\lib\CMakeFiles\libcurl.dir\libcurl.pdb /FS -c C:\aseprite\third_party\curl\lib\nonblock.c
C:\aseprite\third_party\curl\lib\nonblock.c(83): fatal error C1189: #error:  "no non-blocking method was found/used/set"
[10/1308] Building C object third_party\curl\lib\CMakeFiles\libcurl.dir\setopt.c.obj
ninja: build stopped: subcommand failed.

C:\aseprite\build>