FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour New FWH 13.07
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
New FWH 13.07
Posted: Tue Jul 30, 2013 11:06 AM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 195
Joined: Sun Jul 22, 2012 07:01 PM
Re: New FWH 13.07
Posted: Wed Jul 31, 2013 01:16 AM

Antonio,

Have these FWH libs for MSVC been built with VS 2012 instead of VS 2010 as the readme.txt states?

It is behaving as though this is the case, it works fine for me with 2012 but with 2010 I get errors of the following sort, this is from the sample xbincflt.prg:

fivehc32.lib(DEVICE.obj) : error LNK2019: unresolved external symbol ___report_rangecheckfailure referenced in function _HB_FUN_DE
VICECAPABILITIES

I get a similar error with the 64 bit msvc libraries.

Everything I have read says this is from building with the /GS switch on 2012, with the solution being to upgrade to 2012 or compile without the /GS switch on 2012.

I'm okay testing with 2012 but of my production code is MSVC 2010 and upgrading there is not an option at this time. I have currently reverted to 13.06.

Robb

Posts: 195
Joined: Sun Jul 22, 2012 07:01 PM
Re: New FWH 13.07
Posted: Wed Jul 31, 2013 05:22 AM

I moved a critical project over to a test machine with MSVC 2012 and 13.07 on it, and I am able to compile and run there without issue, both 32 and 64 bit.

As stated, I can't release this way at this time, but it looks to be a straightforward move after I get my release out. Antonio, is it possible to get just the 32 bit libs built for harbour using 2010?

Robb

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: New FWH 13.07
Posted: Wed Jul 31, 2013 07:05 AM

Robb,

I have rebuilt them using /GS- so they should be compatible with VS2010 too :-)

I am emailing them to you, thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: New FWH 13.07
Posted: Wed Jul 31, 2013 12:53 PM
Hi Antonio,

I could not compile with 13.07 both vs2010 and vs2012

Hakan

Code (fw): Select all Collapse
FiveHC32.lib(DLG2CHR.obj) : error LNK2019: unresolved external symbol ___report_rangecheckfailure referenced in function HB_FUN_CDLG2CHR
FiveHC32.lib(HELP.obj) : error LNK2001: unresolved external symbol ___report_ran
gecheckfailure
FiveHC32.lib(PRINTDC.obj) : error LNK2001: unresolved external symbol ___report_
rangecheckfailure
FiveHC32.lib(OR.obj) : error LNK2001: unresolved external symbol ___report_range
checkfailure
FiveHC32.lib(GETPROCA.obj) : error LNK2001: unresolved external symbol ___report
_rangecheckfailure
FiveHC32.lib(DEVICE.obj) : error LNK2001: unresolved external symbol ___report_r
angecheckfailure
FiveHC32.lib(ANSIUP.obj) : error LNK2001: unresolved external symbol ___report_r
angecheckfailure
Crm.exe : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0
\VC\bin\link.EXE"' : return code '0x460'
Stop.
Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: New FWH 13.07
Posted: Wed Jul 31, 2013 01:58 PM

Hakan,

That is a compatibility error between VS2012 and VS2010 that gets solved using /GS- flag when calling Microsoft cl.exe. We are going to publish a revised build today or tomorrow, sorry for this.

Please test samples/buildh32.bat tutor02

it should properly build and run

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: New FWH 13.07
Posted: Wed Jul 31, 2013 02:37 PM

ok. I can wait.

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: New FWH 13.07
Posted: Wed Jul 31, 2013 04:26 PM

Hakan,

I just emailed the FWH 32 libs for VS2010 or VS2012 to you, thanks :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: New FWH 13.07
Posted: Wed Jul 31, 2013 06:54 PM

Thanks Antonio,

I can compile again with fwh 13.07 and vs2010. I have not tried yet in vs2012. I have realized that sdkdir has changed for libraries in vs2012 (buildh32.bat)

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: New FWH 13.07
Posted: Thu Aug 01, 2013 12:24 PM

Hakan,

This line from buildh32.bat is no longer needed, all the rest is fine :-)

set sdkdir=%Windowssdkdir%Lib\win8\um\x86

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: New FWH 13.07
Posted: Thu Aug 01, 2013 06:34 PM

We have just published a FWH 13.07 revised version (both 32 and 64 bits)

Many thanks to all of you for your feedback :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: New FWH 13.07
Posted: Sat Jan 10, 2015 09:41 AM
Hi Antonio,

I think It happened again.

I try to use FWH 14.12 and your last harbour release with vs2010.

Code (fw): Select all Collapse
MSVCRT.lib(ti_inst.obj) : warning LNK4006: "private: __thiscall type_info::type_info(class type_info const &)" (??0type_info@@AAE@ABV0@@Z) already defined in LIBCMT.lib(typinfo.obj); second definition ignored
MSVCRT.lib(ti_inst.obj) : warning LNK4006: "private: class type_info & __thiscall type_info::operator=(class type_info const &)" (??4type_info@@AAEAAV0@ABV0@@Z) already defined in LIBCMT.lib(typinfo.obj); second definition ignored
   Creating library IcraW.lib and object IcraW.exp
LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
hbcplr.lib(hbmain.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure
hbcplr.lib(harboury.obj) : error LNK2019: unresolved external symbol ___report_rangecheckfailure referenced in function _hb_comp_yyparse
hbpcre.lib(pcrecomp.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure
hbpp.lib(ppcore.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure
hbvm.lib(hvmall.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure
hbrdd.lib(wafunc.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure
rddntx.lib(dbfntx1.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure
hbwin.lib(axcore.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure
hbrtl.lib(transfrm.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure
hbrtl.lib(hbhex.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure
hbrtl.lib(fslink.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure
hbrtl.lib(hbgtcore.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure
hbcommon.lib(expropt1.obj) : error LNK2001: unresolved external symbol __ltod3
hbcommon.lib(expropt2.obj) : error LNK2001: unresolved external symbol __ltod3
hbwin.lib(win_misc.obj) : error LNK2001: unresolved external symbol __ltod3
hbvm.lib(hvmall.obj) : error LNK2019: unresolved external symbol __ltod3 referenced in function "void __cdecl hb_stack_init(struct HB_STACK *)" (?hb_stack_init@@YAXPAUHB_STACK@@@Z)
hbrdd.lib(dbf1.obj) : error LNK2001: unresolved external symbol __ltod3
rddfpt.lib(dbffpt1.obj) : error LNK2001: unresolved external symbol __ltod3
hbcommon.lib(hbstr.obj) : error LNK2001: unresolved external symbol __ltod3
hbrtl.lib(abs.obj) : error LNK2001: unresolved external symbol __ltod3
hbrtl.lib(hbrandom.obj) : error LNK2001: unresolved external symbol __ltod3
hbrtl.lib(seconds.obj) : error LNK2001: unresolved external symbol __ltod3
hbrtl.lib(cputime.obj) : error LNK2001: unresolved external symbol __ltod3
hbrtl.lib(idle.obj) : error LNK2019: unresolved external symbol __dtoul3 referenced in function _hb_idleSleep
hbrtl.lib(hbgtcore.obj) : error LNK2001: unresolved external symbol __dtoul3
hbcommon.lib(expropt1.obj) : error LNK2001: unresolved external symbol __dtol3
hbcommon.lib(expropt2.obj) : error LNK2001: unresolved external symbol __dtol3
hbcplr.lib(complex.obj) : error LNK2001: unresolved external symbol __dtol3
hbrtl.lib(hbrandom.obj) : error LNK2019: unresolved external symbol __dtol3 referenced in function _HB_FUN_HB_RANDOMINT
hbvm.lib(hvmall.obj) : error LNK2001: unresolved external symbol __dtol3
hbrdd.lib(dbf1.obj) : error LNK2001: unresolved external symbol __dtol3
hbcommon.lib(hbdate.obj) : error LNK2001: unresolved external symbol __dtol3
hbrtl.lib(math.obj) : error LNK2019: unresolved external symbol __libm_sse2_exp_precise referenced in function _HB_FUN_EXP
hbrtl.lib(math.obj) : error LNK2019: unresolved external symbol __libm_sse2_log_precise referenced in function _HB_FUN_LOG
hbrtl.lib(math.obj) : error LNK2019: unresolved external symbol __libm_sse2_sqrt_precise referenced in function _HB_FUN_SQRT
rddntx.lib(dbfntx1.obj) : error LNK2001: unresolved external symbol __libm_sse2_sqrt_precise
rddcdx.lib(dbfcdx1.obj) : error LNK2001: unresolved external symbol __libm_sse2_sqrt_precise
hbrtl.lib(gttone.obj) : error LNK2001: unresolved external symbol __dtoui3
hbvm.lib(hvmall.obj) : error LNK2019: unresolved external symbol __dtoui3 referenced in function "void __cdecl hb_vmArrayPop(void)" (?hb_vmArrayPop@@YAXXZ)
rddntx.lib(dbfntx1.obj) : error LNK2001: unresolved external symbol __dtoui3
rddcdx.lib(dbfcdx1.obj) : error LNK2001: unresolved external symbol __dtoui3
hbcommon.lib(expropt2.obj) : error LNK2001: unresolved external symbol __dtoui3
hbvm.lib(hvmall.obj) : error LNK2019: unresolved external symbol __libm_sse2_pow_precise referenced in function "void __cdecl hb_vmPower(struct _HB_ITEM *,struct _HB_ITEM *,struct _HB_ITEM *)" (?hb_vmPower@@YAXPAU_HB_ITEM@@00@Z)
hbcommon.lib(hbstr.obj) : error LNK2001: unresolved external symbol __libm_sse2_pow_precise
hbcommon.lib(expropt2.obj) : error LNK2001: unresolved external symbol __libm_sse2_pow_precise
xhb.lib(xhbmsgs.obj) : error LNK2001: unresolved external symbol __libm_sse2_pow_precise
hbcommon.lib(hbprintf.obj) : error LNK2019: unresolved external symbol __vacopy referenced in function _hb_vsnprintf
hbct.lib(ctmath2.obj) : error LNK2019: unresolved external symbol __libm_sse2_log10_precise referenced in function _HB_FUN_LOG10
hbwin.lib(win_misc.obj) : error LNK2019: unresolved external symbol __ultod3 referenced in function _HB_FUN_WIN_QPCOUNTER2SEC
IcraW.exe : fatal error LNK1120: 12 unresolved externals
Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 1387
Joined: Fri May 23, 2008 01:33 PM
Re: New FWH 13.07
Posted: Sat Jan 10, 2015 10:36 AM

discard my last message. I have achived to run with VS2013.

Regards,



Hakan ONEMLI



Harbour & MSVC 2022 & FWH 23.06
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: New FWH 13.07
Posted: Sat Jan 10, 2015 01:19 PM

Very good :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion