Page 1 of 5

MSVC 2017 Try

PostPosted: Wed Mar 22, 2017 9:26 am
by Horizon
Hi,

After upgraded fwh 1702, I have decided to try MSVC 2017 Community Edition on another clean w10 installed computer.

I have installed MSVC 2017 Community Edition with default option.

I will try 32 bit fwh.

Which version of harbour should I install to my computer?. There is Harbour MSVC2013 January 2016 in fwh download website. Is it ok?

Thanks,

Re: MSVC 2017 Try

PostPosted: Wed Mar 22, 2017 2:51 pm
by TimStone
I have been building my primary application with FWH / Harbour / MSVC 2013, then MSVC 2015 for several years. I believe the Microsoft builds of Harbour are all MSVC 2015. I received mine from Antonio, but I believe the one on the download site is the same. Antonio can clarify this.

Last week I installed MSVC 2017 Community on my Surface Book. I then had it clean, and rebuild my ( very large ) application using the 2015 solution. I let it upgrade the solution, including all the reference pointers, which it did automatically. It then built the full .exe without any problems and the program seems to run fine.

I have not put it on my main computer because I have not had the time to fully test the build on my laptop. I will update this thread after I have a chance to complete testing.

Apparently there are many enhancements in Community 2017. The Microsoft plan is to allow many ways of assembling applications within VS using the programmers languages of choice. So far my clients have been pleased with the results of the current builds.

Re: MSVC 2017 Try

PostPosted: Thu Mar 23, 2017 6:45 am
by Antonio Linares

Re: MSVC 2017 Try

PostPosted: Fri Mar 24, 2017 6:11 am
by Horizon
Hi Antonio,

I compiled my application with msvc 2017 and fwh 17.02. (using batch file, mak file)

I will inform if any errors occurs.

Thanks,

Re: MSVC 2017 Try

PostPosted: Fri Mar 24, 2017 7:29 am
by José Luis Sánchez
Hello,
I've two questions:
1 - It is posible to download only MSCV compiler or I have to download or install full MSVC Community ?
2 - Can I use the Harbour libs for MSVC 2015 in MSVC 2017 ?

I've read that BCC compilers are no longer supported in Harbour core 3.4 and I think that MSVC is a good choice to try.

Regards,
José Luis

Re: MSVC 2017 Try

PostPosted: Fri Mar 24, 2017 7:51 am
by Horizon
Hi Jose,

1) There is no any option to download full MSVC Community. but you can do it by yourself using this link.
https://docs.microsoft.com/en-us/visualstudio/install/create-an-offline-installation-of-visual-studio

2) When I try to compile in MSVC 2015, I have been found my third party libraries to run under 2015 with Antonio's help. But I had some problems and gave up. Using these libraries I have achieved to compiled all my application in MSVC 2017. (I have not fully checked all my application yet in MSVC 2017).

I dont use BCC.

José Luis Sánchez wrote:Hello,
I've two questions:
1 - It is posible to download only MSCV compiler or I have to download or install full MSVC Community ?
2 - Can I use the Harbour libs for MSVC 2015 in MSVC 2017 ?

I've read that BCC compilers are no longer supported in Harbour core 3.4 and I think that MSVC is a good choice to try.

Regards,
José Luis

Re: MSVC 2017 Try

PostPosted: Fri Mar 24, 2017 8:03 am
by José Luis Sánchez
Hi Hakan,
I've found a zipped package of MSVC 2015 in http://whosaway.com/ I'll give it a try.

Regards,

Re: MSVC 2017 Try

PostPosted: Fri Mar 24, 2017 8:09 am
by Horizon
Hi,

First problem : Not run under XP

Solution : Change the hbrtl.lib with harbour\lib

https://bitbucket.org/fivetech/harbour-xharbour-builds/downloads/hbrtl_vsc2015_32bits_XP.zop

Re: MSVC 2017 Try

PostPosted: Fri Mar 24, 2017 8:19 am
by Antonio Linares
Hakan,

very good

Jose Luis,

> I've read that BCC compilers are no longer supported in Harbour core 3.4

Harbour 3.4 is a fork developed by Vikthor and it is not the Harbour that we use with FWH.
We use the one developed by Przemek (3.2)

Re: MSVC 2017 Try

PostPosted: Fri Mar 24, 2017 9:17 am
by byte-one
Antonio, the Harbour-builds from FW are nearly 1 year old. Should we make newer one versions?

Re: MSVC 2017 Try

PostPosted: Fri Mar 24, 2017 4:51 pm
by Antonio Linares
Günther,

Yes, it is time to build new versions

I am going to install Visual Studio Community 2017 to build them

Re: MSVC 2017 Try

PostPosted: Fri Mar 24, 2017 5:40 pm
by Horizon
Hi Antonio,

Will you add the hbrtl.lib changes to new release?

Re: MSVC 2017 Try

PostPosted: Fri Mar 24, 2017 6:20 pm
by Antonio Linares
Hakan,

What changes we did to hbrtl.lib ?

I remember we modified something but I don't remember what we solved

Re: MSVC 2017 Try

PostPosted: Fri Mar 24, 2017 6:36 pm
by Antonio Linares
Building Harbour 32 bits with VSC2017

go32.bat
Code: Select all  Expand view
call "%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x86
set HB_WITH_OPENSSL=c:\OpenSSL-Win32\include
win-make.exe

Re: MSVC 2017 Try

PostPosted: Fri Mar 24, 2017 7:55 pm
by Horizon
http://forums.fivetechsupport.com/viewtopic.php?f=3&t=32188&start=30

Antonio Linares wrote:Hakan,

What changes we did to hbrtl.lib ?

I remember we modified something but I don't remember what we solved