Tip Client = Harbour / MSVC 2015 Error

Re: Tip Client = Harbour / MSVC 2015 Error

Postby Antonio Linares » Fri Apr 29, 2016 7:56 am

Tim,

I have built the libs using hbmk2 this way:

1. I have downloaded this file and installed it:
https://sourceforge.net/projects/openssl100g/files/Win32OpenSSL-1_0_0g.exe/download

2. Open a cmd window at c:\harbour\contrib\hbssl

3. set HB_WITH_OPENSSL=c:\OpenSSL-Win32\include

4. if exist "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" call "%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"

5. c:\harbour\bin\hbmk2 hbssl -comp=msvc

Four libraries were built: hbssl.lib, hbssls.lib, libeay32.lib and ssleay32.lib

Here you have them:
https://bitbucket.org/fivetech/harbour-xharbour-builds/downloads/harbour_32_hbssl_vsc2015_20160429.zip
regards, saludos

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

Re: Tip Client = Harbour / MSVC 2015 Error

Postby Horizon » Fri Apr 29, 2016 11:44 am

Antonio,

Is there any dll with this library.

Thanks,
Regards,

Hakan ONEMLI

Harbour & MSVC 2022 & FWH 23.04
Horizon
 
Posts: 1322
Joined: Fri May 23, 2008 1:33 pm

Re: Tip Client = Harbour / MSVC 2015 Error

Postby TimStone » Fri Apr 29, 2016 3:27 pm

You have to do it with hbmk2 hbtipssl.hbp which will bring in the hbssl build. I've done that, plus used three of the files you built, and now it finally works. xHarbour.com does it all in one tipssl.lib which would be so much easier ...

The end files are to be linked as:

echo $(HBDIR)\lib\hbtipssl.lib >> msvc.tmp
echo $(HBDIR)\lib\ssleay32.lib >> msvc.tmp
echo $(HBDIR)\lib\libeay32.lib >> msvc.tmp
echo $(HBDIR)\lib\hbtip.lib >> msvc.tmp
echo $(HBDIR)\lib\hbssl.lib >> msvc.tmp

This combination works. I've tried all the other options and they do not.

That is the combo the harbour contributor said we need to do.

Nothing was said about .dll files

Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2943
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Tip Client = Harbour / MSVC 2015 Error

Postby Antonio Linares » Fri Apr 29, 2016 7:04 pm

Tim,

> You have to do it with hbmk2 hbtipssl.hbp

Where did you get hbtipssl.hbp from ? I don't find it in the Harbour contribs folder.
regards, saludos

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

Re: Tip Client = Harbour / MSVC 2015 Error

Postby TimStone » Fri Apr 29, 2016 7:23 pm

It is in contrib\hbtip

I would suggest you add all of those libs to your harbour download so they are available as we get more people working with MSVC / FWH / Harbour.

Also we will need a set of 64 bit libs.

Tim
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2943
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Tip Client = Harbour / MSVC 2015 Error

Postby Antonio Linares » Sat Apr 30, 2016 7:27 am

Tim,

hbtipssl.hbp is not here:

https://github.com/harbour/core/tree/master/contrib/hbtip

Can you please post its contents here ? thanks
regards, saludos

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

Re: Tip Client = Harbour / MSVC 2015 Error

Postby TimStone » Sat Apr 30, 2016 8:20 pm

hbtipssl.hbc

Code: Select all  Expand view

#
# $Id: hbtipssl.hbc 16259 2011-02-09 15:58:45Z vszakats $
#

incpaths=.

libs=${_HB_DYNPREF}${hb_name}${_HB_DYNSUFF}
libs=../hbssl/hbssl.hbc

 


hbtipssl.hbp

Code: Select all  Expand view

#
# $Id: hbtipssl.hbp 15168 2010-07-23 11:08:33Z vszakats $
#

hbtip.hbm

../hbssl/hbssl.hbc

-DHB_HAS_OPENSSL

 


hbtip.hbm

Code: Select all  Expand view

#
# $Id: hbtip.hbm 16788 2011-05-19 02:34:16Z vszakats $
#

-hblib
-inc

-o${hb_targetname}
-workdir=${hb_work}/${hb_plat}/${hb_comp}/${hb_targetname}

-w3 -es2

-instfile=inc:tip.ch
-instfile=inc:thtml.ch
-instfile=inc:hbtip.hbx

hbtip.hbx

encurlc.c
utils.c

cgi.prg
client.prg
credent.prg
encb64.prg
encoder.prg
encqp.prg
encurl.prg
ftpcli.prg
httpcli.prg
log.prg
mail.prg
popcli.prg
sendmail.prg
sessid.prg
smtpcli.prg
thtml.prg
url.prg

 


hbssl.hbc

Code: Select all  Expand view

#
# $Id: hbssl.hbc 16927 2011-07-16 11:17:40Z vszakats $
#

incpaths=.

skip={dos}

{!(HB_STATIC_OPENSSL&!hbdyn)}libs=${_HB_DYNPREF}${hb_name}${_HB_DYNSUFF}
{ (HB_STATIC_OPENSSL&!hbdyn)}libs=${_HB_DYNPREF}${hb_name}s${_HB_DYNSUFF}

{unix}libs=ssl crypto
{os2}libs=libssl_s libcrypto_s
{!(HB_STATIC_OPENSSL&!hbdyn)&win}libs=ssleay32 libeay32
{ (HB_STATIC_OPENSSL&!hbdyn)&win&!allmingw}libs=ssleay32 libeay32
{ (HB_STATIC_OPENSSL&!hbdyn)&allmingw}libs=ssl crypto
{ (HB_STATIC_OPENSSL&!hbdyn)&allwin}libs=crypt32

 
Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
User avatar
TimStone
 
Posts: 2943
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Tip Client = Harbour / MSVC 2015 Error

Postby richard-service » Tue May 17, 2016 9:29 am

Antonio,

I upgrade FWH64 1604B2 and need it hbtipssl.lib, but I can't find it.
Best Regards,

Richard

Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
 
Posts: 803
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Re: Tip Client = Harbour / MSVC 2015 Error

Postby Antonio Linares » Tue May 17, 2016 10:10 am

regards, saludos

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

Re: Tip Client = Harbour / MSVC 2015 Error

Postby richard-service » Tue May 17, 2016 10:43 am

Best Regards,

Richard

Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v8.0 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
 
Posts: 803
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 99 guests