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 <mcyber...@gmail.com>: > > 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 <mcyber...@gmail.com>: > >> 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 <mcyber...@gmail.com>: >> >>> 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 <mcyber...@gmail.com>: >>> >>>> 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 >>>>> <curl-library@cool.haxx.se> 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 <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 >>>>> >>>>
------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html