How to build Harbour hbcurl.lib and hbcurls.lib

Post Reply
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

How to build Harbour hbcurl.lib and hbcurls.lib

Post by Antonio Linares »

Download this OpenSSL and unzip it at c:\OpenSSL-Win32

https://bitbucket.org/fivetech/harbour- ... -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/v ... 2-mingw.7z

We keep a copy of this file at:

https://bitbucket.org/fivetech/harbour- ... 2-mingw.7z

go to:

c:\harbour\contrib\hbcurl\

and execute this batch file:

go.bat

Code: Select all

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- ... hbcurl.zip
regards, saludos

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

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

Post by Antonio Linares »

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

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
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

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

Post by cnavarro »

Thanks
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
hua
Posts: 861
Joined: Fri Oct 28, 2005 2:27 am

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

Post by hua »

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.03
xHarbour 1.2.1 (Rev 6406) + BCC
Harbour 3.1 (Rev 17062) + BCC
Harbour 3.2.0dev (r1904111533) + BCC
User avatar
Andrés González
Posts: 625
Joined: Thu Jan 19, 2006 10:45 am
Location: Mallorca

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

Post by Andrés González »

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
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

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

Post by Antonio Linares »

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

Antonio Linares
www.fivetechsoft.com
User avatar
Baxajaun
Posts: 853
Joined: Wed Oct 19, 2005 2:17 pm
Location: Gatika. Bizkaia

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

Post by Baxajaun »

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
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

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

Post by Antonio Linares »

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

Voy a prepararlas...
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
AngelSalom
Posts: 664
Joined: Fri Oct 07, 2005 7:38 am
Location: Vinaros (Castellón ) - España
Contact:

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

Post by AngelSalom »

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

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
http://www.visionwin.com
---------------------------------------------
fwh 19.05 - harbour 3.2 - bcc 7.0
Post Reply