Discussion:
Cannot build program with linking libcurl as static lib.
Mateusz Domińczak via curl-library
2021-04-10 15:04:37 UTC
Permalink
My build is:
curl-7.76.0
libcurl-vc16-x86-release-static-ipv6-sspi-schannel (so static as we see)


Visual Studio 19.




Linked all required libraries:
Normaliz.lib;Ws2_32.lib;Wldap32.lib;Crypt32.lib;advapi32.lib;
(And libcurl ofc)
Defined using #define CURL_STATICLIB (defined before the include)
But the program always builds with an external DLL which is super annoying.


If you need more informations or anything, i'll surely answer.


I'll leave my discord just if someone wanted to help there.
Allerek#6155
Daniel Stenberg via curl-library
2021-04-10 21:56:13 UTC
Permalink
Post by Mateusz Domińczak via curl-library
curl-7.76.0
libcurl-vc16-x86-release-static-ipv6-sspi-schannel (so static as we see)
Visual Studio 19.
Using the winbuild makefile I presume? Can you tell us your full command line
you used for the build? It might make it easier for someone to figure out
what's going on.
--
/ daniel.haxx.se
| Commercial curl support up to 24x7 is available!
| Private help, bug fixes, support, ports, new features
| https://www.wolfssl.com/contact/
Loading...