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: 35253
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: 35253
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
Muchas gracias. Many thanks.
Saludos,Regards

Cristobal Navarro - Harbour (r1601050904) - xHarbour (Build 20150603) - VS 2015/17 - FWH 17.12

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
User avatar
cnavarro
 
Posts: 3882
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
xHarbour 1.2.1 (Rev 6406) + BCC 5.82
Harbour 3.1 (Rev 17062) + BCC 5.82
hua
 
Posts: 711
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: 614
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: 35253
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: 693
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: 35253
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to Utilities / Utilidades

Who is online

Users browsing this forum: No registered users and 1 guest