Build with Visual Studio 2015 errors

Build with Visual Studio 2015 errors

Postby TimStone » Sat Mar 28, 2015 5:26 am

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
TimStone
 
Posts: 2904
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Build with Visual Studio 2015 errors

Postby Antonio Linares » Sat Mar 28, 2015 6:36 am

Tim,

Try to link msvcrt.lib
regards, saludos

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

Re: Build with Visual Studio 2015 errors

Postby TimStone » Sat Mar 28, 2015 2:54 pm

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: 2904
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Build with Visual Studio 2015 errors

Postby TimStone » Mon Apr 06, 2015 6:14 pm

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
TimStone
 
Posts: 2904
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Build with Visual Studio 2015 errors

Postby Antonio Linares » Mon Apr 06, 2015 8:57 pm

Tim,

I need to install it and test it
regards, saludos

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

Re: Build with Visual Studio 2015 errors

Postby TimStone » Mon Apr 06, 2015 10:08 pm

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
TimStone
 
Posts: 2904
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Build with Visual Studio 2015 errors

Postby Antonio Linares » Tue Apr 07, 2015 9:22 am

Tim,

Already installed,

next, to try it...
regards, saludos

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

Re: Build with Visual Studio 2015 errors

Postby Antonio Linares » Tue Apr 07, 2015 2:08 pm

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: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Build with Visual Studio 2015 errors

Postby Antonio Linares » Tue Apr 07, 2015 2:11 pm

regards, saludos

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

Re: Build with Visual Studio 2015 errors

Postby TimStone » Tue Apr 07, 2015 3:40 pm

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
TimStone
 
Posts: 2904
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Build with Visual Studio 2015 errors

Postby Antonio Linares » Tue Apr 07, 2015 4:04 pm

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: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Build with Visual Studio 2015 errors

Postby Antonio Linares » Tue Apr 07, 2015 5:25 pm

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

Re: Build with Visual Studio 2015 errors

Postby TimStone » Tue Apr 07, 2015 5:27 pm

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
TimStone
 
Posts: 2904
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: Build with Visual Studio 2015 errors

Postby Antonio Linares » Tue Apr 07, 2015 5:38 pm

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: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Build with Visual Studio 2015 errors

Postby Antonio Linares » Tue Apr 07, 2015 5:46 pm

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

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 87 guests