Re: static libcurl with clang
Date: Thu, 19 Mar 2020 15:44:17 +0100
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 <mcyber456_at_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 <mcyber456_at_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 <mcyber456_at_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 <
>>> noloader_at_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_at_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_at_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
Received on 2020-03-19