How to build Harbour hbcurl.lib and hbcurls.lib

How to build Harbour hbcurl.lib and hbcurls.lib

Postby Antonio Linares » Thu May 11, 2017 6: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: Select all  Expand view
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
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: How to build Harbour hbcurl.lib and hbcurls.lib

Postby Antonio Linares » Thu May 11, 2017 6: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: Select all  Expand view
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
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: How to build Harbour hbcurl.lib and hbcurls.lib

Postby cnavarro » Thu May 11, 2017 7: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
User avatar
cnavarro
 
Posts: 6541
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: How to build Harbour hbcurl.lib and hbcurls.lib

Postby hua » Thu Nov 09, 2017 6: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
hua
 
Posts: 1072
Joined: Fri Oct 28, 2005 2:27 am

Re: How to build Harbour hbcurl.lib and hbcurls.lib

Postby Andrés González » 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
User avatar
Andrés González
 
Posts: 628
Joined: Thu Jan 19, 2006 10:45 am
Location: Mallorca

Re: How to build Harbour hbcurl.lib and hbcurls.lib

Postby Antonio Linares » Sun Jan 07, 2018 5:44 pm

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: How to build Harbour hbcurl.lib and hbcurls.lib

Postby Baxajaun » Mon Jan 08, 2018 6: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,
User avatar
Baxajaun
 
Posts: 968
Joined: Wed Oct 19, 2005 2:17 pm
Location: Gatika. Bizkaia

Re: How to build Harbour hbcurl.lib and hbcurls.lib

Postby Antonio Linares » Mon Jan 08, 2018 10:35 am

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

Voy a prepararlas...
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: How to build Harbour hbcurl.lib and hbcurls.lib

Postby AngelSalom » Tue Apr 10, 2018 8: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: Select all  Expand view
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
User avatar
AngelSalom
 
Posts: 727
Joined: Fri Oct 07, 2005 7:38 am
Location: Benicarló (Castellón ) - España


Return to Utilities / Utilidades

Who is online

Users browsing this forum: No registered users and 13 guests