FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index Utilities / Utilidades How to build Harbour hbcurl.lib and hbcurls.lib
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
How to build Harbour hbcurl.lib and hbcurls.lib
Posted: Thu May 11, 2017 06:47 PM
Download this OpenSSL and unzip it at c:\OpenSSL-Win32

https://bitbucket.org/fivetech/harbour-xharbour-builds/downloads/OpenSSL-Win32.zip

Download this curl and unzip it at c:\curl (using Total Commander you simply double click on it and drag&drop)

https://bintray.com/artifact/download/vszakats/generic/curl-7.54.0-win32-mingw.7z

We keep a copy of this file at:

https://bitbucket.org/fivetech/harbour-xharbour-builds/downloads/curl-7.54.0-win32-mingw.7z

go to:

c:\harbour\contrib\hbcurl\

and execute this batch file:

go.bat
Code (fw): Select all Collapse
set path=c:\bcc7\bin
set HB_COMPILER=bcc
set HB_WITH_OPENSSL=c:\OpenSSL-Win32\include
set HB_WITH_CURL=c:\curl\include
c:\harbour\bin\hbmk2 hbcurl

Here you have the libs already built:
https://bitbucket.org/fivetech/harbour-xharbour-builds/downloads/hbcurl.zip
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: How to build Harbour hbcurl.lib and hbcurls.lib
Posted: Thu May 11, 2017 06:51 PM
If you want these libs to be automatically created when Harbour is built then use this batch to create Harbour:

go.bat
Code (fw): Select all Collapse
set path=c:\bcc7\bin
set HB_WITH_OPENSSL=c:\OpenSSL-Win32\include
set HB_WITH_CURL=c:\curl\include
win-make.exe
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: How to build Harbour hbcurl.lib and hbcurls.lib
Posted: Thu May 11, 2017 07:04 PM

Thanks

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 1096
Joined: Fri Oct 28, 2005 02:27 AM
Re: How to build Harbour hbcurl.lib and hbcurls.lib
Posted: Thu Nov 09, 2017 06:36 AM

There are 3 libs in hbcurl.zip; hbcurl.lib, hbcurls.lib and libcurl.lib.

Do we have to link in all of them or only either one?

TIA

FWH 11.08/FWH 19.12

BCC5.82/BCC7.3

xHarbour/Harbour
Posts: 632
Joined: Thu Jan 19, 2006 10:45 AM
Re: How to build Harbour hbcurl.lib and hbcurls.lib
Posted: Sun Jan 07, 2018 11:01 AM

Antonio estas librerias no las genera el resto sí, sabes lo que falta para que las genere.

$(HPATHL)\hbtipssl.lib
$(HPATHL)\libssl32.lib

Saludos



Andrés González desde Mallorca
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: How to build Harbour hbcurl.lib and hbcurls.lib
Posted: Sun Jan 07, 2018 05:44 PM

Estas usando set HB_WITH_OPENSSL=c:\OpenSSL-Win32\include ?

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 990
Joined: Wed Oct 19, 2005 02:17 PM
Re: How to build Harbour hbcurl.lib and hbcurls.lib
Posted: Mon Jan 08, 2018 06:54 AM

Buenos días Antonio,

Feliz y Próspero 2018 !!!

No sería mejor que las incluyeses con la distribución de Harbour que haces ?

Muchas gracias.

Un abrazo,

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: How to build Harbour hbcurl.lib and hbcurls.lib
Posted: Mon Jan 08, 2018 10:35 AM

Pues si, efectivamente sería lo suyo :-)

Voy a prepararlas...

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 728
Joined: Fri Oct 07, 2005 07:38 AM
Re: How to build Harbour hbcurl.lib and hbcurls.lib
Posted: Tue Apr 10, 2018 08:21 PM
Una consulta, en las versiones de libcurl a partir de la 7.56 se han incluido funciones para el envío de ficheros rellenando formularios.

Code (fw): Select all Collapse
curl_mime_init()
curl_mime_addpart()
curl_mime_filedata()
curl_mime_name()


https://curl.haxx.se/libcurl/c/curl_mime_init.html

¿Sabéis si están incluidas en la hbcurl para volver a descargarla y compilarla?
Gracias
Angel Salom
Visionwin Software - https://www.visionwin.com
------------------------------------------------------------
fwh 19.05 - harbour 3.2 - bcc 7.4

Continue the discussion