Re: static libcurl with clang
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) && \ !defined(CURL_NO_DEFAULT_LINKED_LIBS) #pragma comment(lib, "libcurl_a.lib") #endif somewhere? With checks for '_DEBUG' etc. -- --gv -- --gv --- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html
Re: static libcurl with clang
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 static library you will have to include the dependencies needed, the lib does not do that for you. In Visual Studio properties Linker > Additional Dependencies included by default in a project usually include 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. --- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html
Re: static libcurl with clang
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 "libucrt.lib(strpbrk.obj)" wird durch "libcurl_a.lib(smtp.obj)" importiert. 1>LINK : warning LNK4286: Das in "strpbrk" definierte Symbol "libucrt.lib(strpbrk.obj)" wird durch "libcurl_a.lib(vauth.obj)" importiert. 1>LINK : warning LNK4217: Das in "fflush" definierte Symbol "libucrt.lib(fflush.obj)" wird durch "libcurl_a.lib(progress.obj)" in die Funktion "progress_meter" importiert. 1>LINK : warning LNK4217: Das in "fputc" definierte Symbol "libucrt.lib(fputc.obj)" wird durch "libcurl_a.lib(mprintf.obj)" in die Funktion "curl_mfprintf" importiert. 1>LINK : warning LNK4217: Das in "__stdio_common_vsprintf" definierte Symbol "libucrt.lib(output.obj)" wird durch "libcurl_a.lib(mprintf.obj)" in die Funktion "_vsnprintf_l" importiert. 1>LINK : warning LNK4217: Das in "strtoll" definierte Symbol "libucrt.lib(strtox.obj)" wird durch "libcurl_a.lib(strtoofft.obj)" in die Funktion "curlx_strtoofft" importiert. 1>LINK : warning LNK4217: Das in "fgets" definierte Symbol "libucrt.lib(fgets.obj)" wird durch "libcurl_a.lib(curl_get_line.obj)" in die Funktion "Curl_get_line" importiert. 1>LINK : warning LNK4286: Das in "fgets" definierte Symbol "libucrt.lib(fgets.obj)" wird durch "libcurl_a.lib(netrc.obj)" importiert. 1>LINK : warning LNK4217: Das in "_lseeki64" definierte Symbol "libucrt.lib(lseek.obj)" wird durch "libcurl_a.lib(file.obj)" in die Funktion "file_do" importiert. 1>LINK : warning LNK4217: Das in "_fstat64" definierte Symbol "libucrt.lib(stat.obj)" wird durch "libcurl_a.lib(file.obj)" in die Funktion "file_do" importiert. 1>LINK : warning LNK4217: Das in "strcspn" definierte Symbol "libucrt.lib(strcspn.obj)" wird durch "libcurl_a.lib(urlapi.obj)" in die Funktion "hostname_check" importiert. 1>LINK : warning LNK4217: Das in "isupper" definierte Symbol "libucrt.lib(_ctype.obj)" wird durch "libcurl_a.lib(x509asn1.obj)" in die Funktion "encodeDN" importiert. 1>LINK : warning LNK4286: Das in "_strdup" definierte Symbol "libucrt.lib(strdup.obj)" wird durch "OLDNAMES.lib(strdup.obi)" importiert. 1>LINK : warning LNK4286: Das in "_unlink" definierte Symbol "libucrt.lib(unlink.obj)" wird durch "OLDNAMES.lib(unlink.obi)" importiert. 1>LINK : warning LNK4286: Das in "_access" definierte Symbol "libucrt.lib(access.obj)" wird durch "OLDNAMES.lib(access.obi)" importiert. 1>LINK : warning LNK4286: Das in "_read" definierte Symbol "libucrt.lib(read.obj)" wird durch "OLDNAMES.lib(read.obi)" importiert. 1>LINK : warning LNK4286: Das in "_write" definierte Symbol "libucrt.lib(write.obj)" wird durch "OLDNAMES.lib(write.obi)" importiert. 1>LINK : warning LNK4286: Das in "_close" definierte Symbol "libucrt.lib(close.obj)" wird durch "OLDNAMES.lib(close.obi)" importiert. 1>LINK : warning LNK4286: Das in "_open" definierte Symbol "libucrt.lib(open.obj)" wird durch "OLDNAMES.lib(open.obi)" importiert. 1>libcurl_a.lib(multi.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp_closesocket" in Funktion "Curl_multi_handle". 1>libcurl_a.lib(asyn-thread.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_closesocket". 1>libcurl_a.lib(connect.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_closesocket". 1>libcurl_a.lib(socketpair.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_closesocket". 1>libcurl_a.lib(multi.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp_recv" in Funktion "Curl_multi_wait". 1>libcurl_a.lib(sendf.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_recv". 1>libcurl_a.lib(connect.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_recv". 1>libcurl_a.lib(socketpair.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_recv". 1>libcurl_a.lib(telnet.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_send". 1>libcurl_a.lib(multi.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_send". 1>libcurl_a.lib(asyn-thread.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_send". 1>libcurl_a.lib(sendf.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_send". 1>libcurl_a.lib(socketpair.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_send". 1>libcurl_a.lib(schannel.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_WSAGetLastError". 1>libcurl_a.lib(ftp.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_WSAGetLastError". 1>libcurl_a.lib(telnet.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_WSAGetLastError". 1>libcurl_a.lib(tftp.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_WSAGetLastError". 1>libcurl_a.lib(multi.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_WSAGetLastError". 1>libcurl_a.lib(asyn-thread.obj) : error
Re: static libcurl with clang
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 LNK2001: Nicht aufgelöstes externes Symbol "__imp___stdio_common_vsscanf". 1>libcurl_a.lib(parsedate.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp___stdio_common_vsscanf". 1>libcurl_a.lib(imap.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp___stdio_common_vsscanf". 1>libcurl_a.lib(ftp.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp___stdio_common_vsscanf". 1>libcurl_a.lib(cookie.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp___stdio_common_vsscanf". 1>libcurl_a.lib(hostip.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp___stdio_common_vsscanf". 1>libcurl_a.lib(url.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp___stdio_common_vsscanf". 1>libcurl_a.lib(transfer.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp___stdio_common_vsscanf". 1>libcurl_a.lib(telnet.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_strncpy". 1>libcurl_a.lib(curl_sspi.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_strncpy". 1>libcurl_a.lib(url.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_strncpy". 1>libcurl_a.lib(strerror.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_strncpy". 1>libcurl_a.lib(ftp.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_strncpy". 1>libcurl_a.lib(ftp.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp_strstr" in Funktion "InitiateTransfer". 1>libcurl_a.lib(tftp.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_strstr". 1>libcurl_a.lib(ftplistparser.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_strstr". 1>libcurl_a.lib(vtls.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_strstr". 1>libcurl_a.lib(url.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_strstr". 1>libcurl_a.lib(transfer.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_strstr". 1>libcurl_a.lib(http.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_strstr". 1>libcurl_a.lib(warnless.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp_read" in Funktion "curlx_read". 1>OLDNAMES.lib(read.obi) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_read". 1>libcurl_a.lib(warnless.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp_write" in Funktion "curlx_write". 1>OLDNAMES.lib(write.obi) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_write". 1>libcurl_a.lib(parsedate.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__gmtime64" in Funktion "gmtime". 1>libcurl_a.lib(strerror.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp_strerror" in Funktion "Curl_strerror". 1>libcurl_a.lib(strerror.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp___sys_nerr" in Funktion "Curl_strerror". 1>libcurl_a.lib(curl_threads.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__beginthreadex" in Funktion "Curl_thread_create". 1>libcurl_a.lib(file.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp_close" in Funktion "file_done". 1>OLDNAMES.lib(close.obi) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_close". 1>libcurl_a.lib(file.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp_open" in Funktion "file_connect". 1>OLDNAMES.lib(open.obi) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_open". 1>libcurl_a.lib(smb.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__getpid" in Funktion "smb_format_message". 1>libcurl_a.lib(rand.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp__wassert" in Funktion "Curl_rand". checked the compiler should be the same x64 thanks Am Do., 19. März 2020 um 15:44 Uhr schrieb Mike : > > 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 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? What to do? >>> Thanks >>> >>> >>> Am Do., 19. März 2020 um 08:21 Uhr schrieb Mike : >>> Yes I know that's why I build the libcurl with VS. Same MS compiler and CURL_STATICLIB in the "Preprocessor
Re: static libcurl with clang
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 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? What to do? >> Thanks >> >> >> Am Do., 19. März 2020 um 08:21 Uhr schrieb Mike : >> >>> Yes I know that's why I build the libcurl with VS. Same MS compiler and >>> CURL_STATICLIB >>> in the "Preprocessor Definitions" for libcurl and my app. >>> >>> MSVC (release): libcurl.lib libcurl_imp.lib >>> >>> I only get libcurl.lib. Where's/what's the *imp.lib? >>> >>> Many thanks >>> >>> >>> >>> Am Do., 19. März 2020 um 05:29 Uhr schrieb Jeffrey Walton < >>> noloa...@gmail.com>: >>> https://curl.haxx.se/docs/faq.html#Link_errors_when_building_libcur On Wed, Mar 18, 2020 at 5:13 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". > 1>libcurl.lib(asyn-thread.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_send". > 1>libcurl.lib(sendf.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_send". > 1>libcurl.lib(socketpair.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_send". > 1>libcurl.lib(ftp.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_WSAGetLastError". > 1>libcurl.lib(telnet.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_WSAGetLastError". > 1>libcurl.lib(tftp.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_WSAGetLastError". > 1>libcurl.lib(multi.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_WSAGetLastError". > .. > Many thanks for help > > > Am Di., 17. März 2020 um 22:26 Uhr schrieb 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 download? >> >> If you are using the Microsoft compiler with Visual Studio then I >> suggest use static libraries built with the Microsoft compiler. There >> are some pregenerated VS project files in some common configurations in >> the projects directory, or the winbuild directory has some instructions >> and a makefile for building custom configurations. >> >> --- >> Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library >> Etiquette: https://curl.haxx.se/mail/etiquette.html > > --- > Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library > Etiquette: https://curl.haxx.se/mail/etiquette.html >>> --- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html
Re: static libcurl with clang
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? What to do? > Thanks > > > Am Do., 19. März 2020 um 08:21 Uhr schrieb Mike : > >> Yes I know that's why I build the libcurl with VS. Same MS compiler and >> CURL_STATICLIB >> in the "Preprocessor Definitions" for libcurl and my app. >> >> MSVC (release): libcurl.lib libcurl_imp.lib >> >> I only get libcurl.lib. Where's/what's the *imp.lib? >> >> Many thanks >> >> >> >> Am Do., 19. März 2020 um 05:29 Uhr schrieb Jeffrey Walton < >> noloa...@gmail.com>: >> >>> https://curl.haxx.se/docs/faq.html#Link_errors_when_building_libcur >>> >>> On Wed, Mar 18, 2020 at 5:13 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". >>> > 1>libcurl.lib(asyn-thread.obj) : error LNK2001: Nicht aufgelöstes >>> externes Symbol "__imp_send". >>> > 1>libcurl.lib(sendf.obj) : error LNK2001: Nicht aufgelöstes externes >>> Symbol "__imp_send". >>> > 1>libcurl.lib(socketpair.obj) : error LNK2001: Nicht aufgelöstes >>> externes Symbol "__imp_send". >>> > 1>libcurl.lib(ftp.obj) : error LNK2001: Nicht aufgelöstes externes >>> Symbol "__imp_WSAGetLastError". >>> > 1>libcurl.lib(telnet.obj) : error LNK2001: Nicht aufgelöstes externes >>> Symbol "__imp_WSAGetLastError". >>> > 1>libcurl.lib(tftp.obj) : error LNK2001: Nicht aufgelöstes externes >>> Symbol "__imp_WSAGetLastError". >>> > 1>libcurl.lib(multi.obj) : error LNK2001: Nicht aufgelöstes externes >>> Symbol "__imp_WSAGetLastError". >>> > .. >>> > Many thanks for help >>> > >>> > >>> > Am Di., 17. März 2020 um 22:26 Uhr schrieb 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 download? >>> >> >>> >> If you are using the Microsoft compiler with Visual Studio then I >>> >> suggest use static libraries built with the Microsoft compiler. There >>> >> are some pregenerated VS project files in some common configurations >>> in >>> >> the projects directory, or the winbuild directory has some >>> instructions >>> >> and a makefile for building custom configurations. >>> >> >>> >> --- >>> >> Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library >>> >> Etiquette: https://curl.haxx.se/mail/etiquette.html >>> > >>> > --- >>> > Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library >>> > Etiquette: https://curl.haxx.se/mail/etiquette.html >>> >> --- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html
Re: static libcurl with clang
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". 1>libcurl.lib(asyn-thread.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_send". 1>libcurl.lib(sendf.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_send". 1>libcurl.lib(socketpair.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_send". 1>libcurl.lib(ftp.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_WSAGetLastError". 1>libcurl.lib(telnet.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_WSAGetLastError". 1>libcurl.lib(tftp.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_WSAGetLastError". 1>libcurl.lib(multi.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_WSAGetLastError". Looks like you're missing ws2_32.lib for winsock functions. --- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html
Re: static libcurl with clang
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 aufgelöstes externes Symbol "__imp_send". 1>libcurl.lib(sendf.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_send". 1>libcurl.lib(socketpair.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_send". 1>libcurl.lib(ftp.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_WSAGetLastError". 1>libcurl.lib(telnet.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_WSAGetLastError". 1>libcurl.lib(tftp.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_WSAGetLastError". 1>libcurl.lib(multi.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "__imp_WSAGetLastError". .. Many thanks for help Am Di., 17. März 2020 um 22:26 Uhr schrieb Ray Satiro via curl-library < curl-library@cool.haxx.se>: > 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 download? > > If you are using the Microsoft compiler with Visual Studio then I > suggest use static libraries built with the Microsoft compiler. There > are some pregenerated VS project files in some common configurations in > the projects directory, or the winbuild directory has some instructions > and a makefile for building custom configurations. > > --- > Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library > Etiquette: https://curl.haxx.se/mail/etiquette.html --- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html
Re: static libcurl with clang
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 download? If you are using the Microsoft compiler with Visual Studio then I suggest use static libraries built with the Microsoft compiler. There are some pregenerated VS project files in some common configurations in the projects directory, or the winbuild directory has some instructions and a makefile for building custom configurations. --- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html
static libcurl with clang
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 --- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html