Build with Visual Studio 2015 errors

User avatar
TimStone
Posts: 2955
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Has thanked: 25 times
Been thanked: 2 times
Contact:

Build with Visual Studio 2015 errors

Post by TimStone »

I'm trying to build a project that works in Visual Studio 2013, but I'm using it with VS 2015 Preview. I get the following Unresolved Externals:

__iob_func use in hbcplr.lib, hbpp.lib, hbvm.lib, rddcdx.lib, fiveH32.lib, and hbssl.lib

_printf used in rddcdx.lib and hbpp.lib

_ vacopy used in hbcommon.lib

_except_handler4_common in MSVCRTD.lib

Obviously I'm missing the link for one or more .lib files to provide these externals. Does anyone have ideas ?

Thanks.
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
Antonio Linares
Site Admin
Posts: 42520
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 75 times
Contact:

Re: Build with Visual Studio 2015 errors

Post by Antonio Linares »

Tim,

Try to link msvcrt.lib
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
TimStone
Posts: 2955
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Has thanked: 25 times
Been thanked: 2 times
Contact:

Re: Build with Visual Studio 2015 errors

Post by TimStone »

Antonio,

That is not it. We were blocking it due to a conflict with another library, but allowing it, performing a Clean and complete rebuild still has all of the same errors.

From reading notes on VS 2015, and C++, apparently there are issues with .lib files built with older versions. They are saying the .lib files need to be built with VS 2015 also. You may get some idea of this in the Visual Studio support forum.

My guess is that VS 2015 will have a Community version that will be used by many developers here, so perhaps we can get a build of Harbour and FWH libs built with VS 2015. They have made some extensive improvements in CRT functioning which apparently relates to this.

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: 2955
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Has thanked: 25 times
Been thanked: 2 times
Contact:

Re: Build with Visual Studio 2015 errors

Post by TimStone »

Antonio,

In case you didn't see this before, any chance of getting libs for Harbour / FWH build with MSVC 2015 ? I realize it is "early" but the preview has moved along pretty quickly and the changes are set for the issues we currently see ( as described in my first post in this thread ). I have also confirmed that 2015 will have the Free Community version.

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
Antonio Linares
Site Admin
Posts: 42520
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 75 times
Contact:

Re: Build with Visual Studio 2015 errors

Post by Antonio Linares »

Tim,

I need to install it and test it
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
TimStone
Posts: 2955
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Has thanked: 25 times
Been thanked: 2 times
Contact:

Re: Build with Visual Studio 2015 errors

Post by TimStone »

OK ... VS 2015 Preview is available ... no charge, and it's getting close to RTM.

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
Antonio Linares
Site Admin
Posts: 42520
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 75 times
Contact:

Re: Build with Visual Studio 2015 errors

Post by Antonio Linares »

Tim,

Already installed,

next, to try it...
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 42520
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 75 times
Contact:

Re: Build with Visual Studio 2015 errors

Post by Antonio Linares »

Tim,

I already tried it and got the iob_func and printf errors.

Not sure how to solve them yet.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 42520
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 75 times
Contact:

Re: Build with Visual Studio 2015 errors

Post by Antonio Linares »

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
TimStone
Posts: 2955
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Has thanked: 25 times
Been thanked: 2 times
Contact:

Re: Build with Visual Studio 2015 errors

Post by TimStone »

Antonio,

The article I read indicated we need to rebuild all libraries with VC 2015. That would include the Harbour and FWH libraries.

https://connect.microsoft.com/VisualStudio/feedback/details/1144980/error-lnk2001-unresolved-external-symbol-imp-iob-func

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
Antonio Linares
Site Admin
Posts: 42520
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 75 times
Contact:

Re: Build with Visual Studio 2015 errors

Post by Antonio Linares »

Tim,

ok, thanks

I will rebuild everything and will try it again :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 42520
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 75 times
Contact:

Re: Build with Visual Studio 2015 errors

Post by Antonio Linares »

Tim,

Solved :-)

I send you the new libs and Harbour

There is a problem in Harbour to be fixed. I have used a workaround in the meantime.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
TimStone
Posts: 2955
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA
Has thanked: 25 times
Been thanked: 2 times
Contact:

Re: Build with Visual Studio 2015 errors

Post by TimStone »

I will test it when it arrives. Thank you.
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
Antonio Linares
Site Admin
Posts: 42520
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 75 times
Contact:

Re: Build with Visual Studio 2015 errors

Post by Antonio Linares »

Thanks to you for your great feedback and for making us aware of the new MS tools :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 42520
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 75 times
Contact:

Re: Build with Visual Studio 2015 errors

Post by Antonio Linares »

The only problem is that these new FWH libs are not backwards compatible. I just tested them

They require the new Harbour and VS2015
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply