My link was not static, so it needs msys2 to run.
When I change to static linking, I get the same curl errors.
For example:
Code: Select all
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../lib\libcurl.a(libcurl_la-schannel.o):(.text+0x131e): undefined reference to `__imp_CertFindCertificateInStore'
I have it installed.
But at least I have a way to run it myself.