FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour fwh 10.09 link error ?
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: fwh 10.09 link error ?
Posted: Sat Oct 30, 2010 12:10 AM

Yungb,

Please use this harbour and vc2008:

http://www.fivetechsoft.com/files/harbour_vc2008.zip

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 109
Joined: Sun Nov 13, 2005 12:40 AM
Re: fwh 10.09 link error ?
Posted: Mon Nov 01, 2010 06:47 PM

Hi Antonio

link error message .....

Harbour 2.1.0.beta2 {Rev.15240>
Compiling...
testmex.c
hbwin.lib(win_dll.obj) : error LNK2019: symbole externe non resolu _hb_gcAlloc reference dans la fonction _HB_FUN_DLLPREPARECALL
hbwin.lib(win_ole.obj) : error LNK2001: symbole externe non resolu _hb_gcAlloc
hbwin.lib(win_tole.obj) : error LNK2019: symbole externe non resolu _hb_vmProcessSymbolsEx reference dans la fonction _hb_vm_SymbolInit_WIN_TOLE
hbwin.lib(win_ole.obj) : error LNK2019: symbole externe non resolu _hb_itemPutCPtr2 reference dans la fonction _hb_oleVariantToItem
testmex.exe : fatal error LNK1120: 3 externes non resolus
* Linking errors *

FWH User

FWPPC User

FWLinux User
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: fwh 10.09 link error ?
Posted: Mon Nov 01, 2010 09:18 PM

Yungb,

Are you using a hbwin.lib from your previous Harbour version ?

It seems as I did not include it in the files that I gave you. You can not mix different versions.

We are going to build it.

BTW, we used this batch file to build Harbour with VC2008:

govc2008.bat

set HB_COMPILER=msvc
set path=c:\vc2008\bin
set include=c:\vc64\include // We used vc64 as our vc2008 include folder was incomplete to build Harbour
set lib=c:\vc2008\lib
win-make.exe

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 11
Joined: Sat Sep 25, 2010 02:36 PM
Re: fwh 10.09 link error ?
Posted: Tue Nov 09, 2010 09:05 AM

As i know, some code about DbSkipper() in wbrowse.prg, xwbrowse.prg and database was mistakenly #xtranslate -ed into uncorrect expression, for example we need to fix wbrowse.prg line 57 ~ 61 in following way and recompile it.

ifdef HARBOUR

// #ifndef XHARBOUR
// #xtranslate _DbSkipper => __DbSkipper
// #else
#xtranslate _DbSkipper => DbSkipper
// #endif

endif

cly
Regards

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: fwh 10.09 link error ?
Posted: Sat Nov 13, 2010 07:12 AM

Yes, it was changed in recent Harbour versions,

Thanks anyhow :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion