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".
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

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 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