I tried to compile GTK 4.14.6 on Windows 11 using the following Meson command:
meson . _build --prefix=C:\GTK\release --libdir=lib -Dcpp_std=c++17 -Dvulkan=disabled -Dintrospection=disabled -Dmedia-gstreamer=disabled -Dpixman:tests=disabled -Dglib:tests=false -Dx11-backend=false -Dbuild-tests=false -Dbuild-demos=true -Dbuild-examples=true -Dx11-backend=false -Dwayland-backend=false --buildtype=release -Dc_std=c11
After some time, I encountered this error:
Downloading libjpeg-turbo source from https://sourceforge.net/projects/libjpeg-turbo/files/2.1.3/libjpeg-turbo-2.1.3.tar.gz
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)>
I am using Python 3.11.9 with Meson and Ninja scripts. I installed Git from the web, and all the necessary commands are available in my system PATH.
I tried installing certificates for Python, but no matter what I do, I keep getting this error. Interestingly, the sources from GitLab are downloaded without any issues; the failure occurs only with files from SourceForge. On macOS, I just run the “Install Certificates.command” that comes with Python, and it works perfectly. Unfortunately, there is no equivalent command for Windows. Does anyone know how to resolve this?