Re: static link on Ubuntu

2020-08-26 Thread Mike via curl-library
if I add -lGL -lGLEW -lfreetype -lcurl Eclipse uses the shared libs not the static. What to do? Thanks Am Mi., 26. Aug. 2020 um 08:43 Uhr schrieb Ray Satiro via curl-library < curl-library@cool.haxx.se>: > On 8/25/2020 1:41 PM, Mike via curl-library wrote: > > g++ -L/usr/lib/x

static link on Ubuntu

2020-08-25 Thread Mike via curl-library
Hi I do: g++ -L/usr/lib/x86_64-linux-gnu/libfreetype.a -L/usr/lib/x86_64-linux-gnu/libcurl.a -m64 -static-libgcc -DCURL_STATICLIB -I/usr/lib/x86_64-linux-gnu/libcurl.a -Wl,--version-script=exports.txt -shared -o "lin.xpl" ./BitmapSupport.o ./fontmgr.o ./image.o ./main.o ./myList.o ./rain.o ./shad

Re: static libcurl with clang

2020-03-20 Thread Mike via curl-library
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 > e

Re: static libcurl with clang

2020-03-19 Thread Mike via curl-library
gt;> >>> 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 >

Re: static libcurl with clang

2020-03-19 Thread Mike via curl-library
> >>> 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-librar

Re: static libcurl with clang

2020-03-19 Thread Mike via curl-library
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...@gm

Re: static libcurl with clang

2020-03-18 Thread Mike via curl-library
"__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

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

curl static visual studio

2020-03-15 Thread Mike via curl-library
HI why do I get those Reference to unresolved external symbol errors: 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp_curl_global_init" in Funktion "XPluginStart". 1>main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "__imp_curl_global_cleanup"