Re: static libcurl with clang

2020-03-22 Thread Gisle Vanem via curl-library
Ray Satiro wrote: most of that but you may have to specify some on your own such as ws2_32. If the functions it can't find are CRT functions then that is an issue with your project and not libcurl. Maybe it's an idea to add something like: #if defined(_MSC_VER) && defined(CURL_STATICLIB) &&

Re: static libcurl with clang

2020-03-22 Thread Ray Satiro via curl-library
On 3/20/2020 5:51 AM, Mike via curl-library wrote: 1>libcurl_a.lib(krb5_sspi.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp_ntohl" in Funktion "Curl_auth_create_gssapi_security_message". please any help as I'm stuck. many thanks If you have built libcurl as a

Re: static libcurl with clang

2020-03-20 Thread Mike via curl-library
now after repairing vs studio: 1>LINK : warning LNK4217: Das in "strpbrk" definierte Symbol "libucrt.lib(strpbrk.obj)" wird durch "libcurl_a.lib(system_win32.obj)" in die Funktion "Curl_load_library" importiert. 1>LINK : warning LNK4286: Das in "strpbrk" definierte Symbol

Re: static libcurl with clang

2020-03-19 Thread Mike via curl-library
ps: those errors with the above link: libcurl_a.lib(rtsp.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp___stdio_common_vsscanf". 1>libcurl_a.lib(http_proxy.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp___stdio_common_vsscanf". 1>libcurl_a.lib(http.obj) : error

Re: static libcurl with clang

2020-03-19 Thread Mike via curl-library
https://stackoverflow.com/questions/53861300/how-do-you-properly-install-libcurl-for-use-in-visual-studio-2017 also with the above no libs apart libcurl are created. No Ws2_32.lib, Crypt32.lib, Wldap32.lib and Normaliz.lib Thanks Am Do., 19. März 2020 um 11:16 Uhr schrieb Mike : > Looks like

Re: static libcurl with clang

2020-03-19 Thread Mike via curl-library
Looks like you're missing ws2_32.lib for winsock functions. Yes. Why are those not added with curl_staticlib? What to do? Thanks Am Do., 19. März 2020 um 11:15 Uhr schrieb Mike : > Looks like you're missing ws2_32.lib for winsock functions. > > Yes. Why are those not added with curl_staticlib?

Re: static libcurl with clang

2020-03-18 Thread Ray Satiro via curl-library
On 3/18/2020 5:08 AM, Mike via curl-library wrote: Sure I only use the sln projects with VS but get errors like: 1>libcurl.lib(telnet.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_send". 1>libcurl.lib(multi.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_send".

Re: static libcurl with clang

2020-03-18 Thread Mike via curl-library
Sure I only use the sln projects with VS but get errors like: 1>libcurl.lib(telnet.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_send". 1>libcurl.lib(multi.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_send". 1>libcurl.lib(asyn-thread.obj) : error LNK2001: Nicht

Re: static libcurl with clang

2020-03-17 Thread Ray Satiro via curl-library
On 3/17/2020 5:32 AM, Mike via curl-library wrote: I get this error with clang and others with vs compiler: truncated or malformed archive (string table at long name offset 0not terminated) I try to use libcurl static in my project with Visual Studio. Is there a working prebuild visual studio

static libcurl with clang

2020-03-17 Thread Mike via curl-library
HI I get this error with clang and others with vs compiler: truncated or malformed archive (string table at long name offset 0not terminated) I try to use libcurl static in my project with Visual Studio. Is there a working prebuild visual studio download? Many thanks Michael