curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

CURL 7.86.0 build for mingw8.1 with Qt

From: Labala, Sarathchandra via curl-users <curl-users_at_lists.haxx.se>
Date: Wed, 30 Nov 2022 10:15:04 +0000

Hi Everyone,

Im trying to build curl library with zlib,ssl,schannel for mingw compiler with Qt.
For curl 7.85.0 version I used the following commands and I got lib and dll correctly.

  * cd C:\<path> \curl-7.85.0
  * set ZLIB_PATH= C:\<path> \zlibLibs
  * set OPENSSL_PATH= C:\<path> \opensslLibs
  * mingw32-make mingw32-ssl-zlib-schannel
when I'm using the same procedure to build curl 7.86.0 ,getting following error.
/***Log start***/
C:\WorkingProjects\curlLibgeneration\curl-7.86.0>mingw32-make mingw32-ssl-zlib-schannel
mingw32-make -C lib -f Makefile.m32 CFG=mingw32-ssl-zlib-schannel
mingw32-make[1]: Entering directory 'C:/WorkingProjects/curlLibgeneration/curl-7.86.0/lib'
process_begin: CreateProcess(NULL, cc -dumpmachine, ...) failed.
mingw32-make[1]: Makefile.m32:86: pipe: No error
cc -W -Wall -m32 -DBUILDING_LIBCURL -I. -I../include -DUSE_OPENSSL -DCURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG -I" C:\WorkingProjects\curlLibgeneration\opensslLibs/include" -DUSE_SCHANNEL -DHAVE_LIBZ -I" C:\WorkingProjects\curlLibgeneration\zlibLibs" -DCURL_WITH_MULTI_SSL -c vauth/cleartext.c
process_begin: CreateProcess(NULL, cc -W -Wall -m32 -DBUILDING_LIBCURL -I. -I../include -DUSE_OPENSSL -DCURL_DISABLE_OPENSSL_AUTO_LOAD_CONFIG "-I C:\WorkingProjects\curlLibgeneration\opensslLibs/include" -DUSE_SCHANNEL -DHAVE_LIBZ "-I C:\WorkingProjects\curlLibgeneration\zlibLibs" -DCURL_WITH_MULTI_SSL -c vauth/cleartext.c, ...) failed.
make (e=2): The system cannot find the file specified.
mingw32-make[1]: *** [Makefile.m32:320: cleartext.o] Error 2
mingw32-make[1]: Leaving directory 'C:/WorkingProjects/curlLibgeneration/curl-7.86.0/lib'
mingw32-make: *** [Makefile:51: mingw32-ssl-zlib-schannel] Error 2

/***Log end***/

So, I replaced the makefile.m32 in lib and src folders with makefile.m32 files of curl 7.85.0 and I got lib and dll correctly.
The generated dll has version 7.86.0 in the properties.

Can someone please help me to build curl with new set of make files for mingw 8.1 with Qt.

Thanks,
Sarathchandra




-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2022-11-30