xHarbour project link errors

xHarbour project link errors

Postby James Bott » Mon Jan 16, 2006 4:48 pm

I have been using Harbour and now I am trying to get started with xHarbour. I am getting the following errors:

Project: TTest, Environment: FWxH:
iLink32.Exe -Gn -aa -Tpe -s @TTest.bcl
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_HB_FUN_HB_DBG_VMSTKLCOUNT' referenced from C:\FWH\LIB\FIVEHX.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_HB_DBG_VMPARLLIST' referenced from C:\FWH\LIB\FIVEHX.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_HB_DBG_VMVARLGET' referenced from C:\FWH\LIB\FIVEHX.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_HB_DBG_VMVARSLEN' referenced from C:\FWH\LIB\FIVEHX.LIB|HARBOUR

I am using FWH 2.6, May 2005 build. The xHarbour ver is 0.92.0 which has a file date of 1/5/2004. Also Borland C. I am wondering if I need a newer version of the xHarbour compiler? Does anyone have a version that they know is compatible with FWH 2.6? If so, could you mail me a copy? I can't find one on the net anywhere. Or can I use the latest version of xHarbour?

I am also using xMate which is new to me. Perhaps I have it configured wrong. I found it strange that xMate came pre-configured for about 20 environments but none of them were for FW, FWH, or FWxH. I am linking in the VM.LIB which looks like the one that is the problem.

Any other ideas?

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: xHarbour project link errors

Postby Enrico Maria Giordano » Mon Jan 16, 2006 5:00 pm

If I remember correctly, you can define those functions as empty functions.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8408
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby James Bott » Mon Jan 16, 2006 6:14 pm

Enrico,

OK, here is my entire program:

Code: Select all  Expand view
#include "fivewin.ch"

function main()
   msgInfo("Hello World")
return nil

function hb_dbg_vmstklcount()
return nil
function hb_dbg_vmparllist()
return nil
function hb_dbg_vmvarlget()
return nil
function hb_dbg_vmvarslen()
return nil

I also eliminated xMate and I am just using buildx.bat. The program compiles without error, but when I run it, nothing happens (I don't get the "Hello World" message).

Any more ideas?

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Antonio Linares » Mon Jan 16, 2006 6:33 pm

James,

I assume you are using /n at buildx.bat when compiling, right ?
regards, saludos

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

Postby James Bott » Mon Jan 16, 2006 6:43 pm

Antonio,

Yes, I am using the /n in the standard buildx.bat with only slight modifications for paths. Here is the line from the file:

%hdir%\bin\harbour %1 /n /i%hdir%\include;%fwdir%\include /w /p %2 %3 > clip.log

James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Antonio Linares » Mon Jan 16, 2006 6:48 pm

James,

I would suggest you to use the most recent xHarbour version, tested by FiveTech, that can be downloaded from:

www.fivetechsoft.com/files/xharbour.exe

and FWH 2.7 january 2006.
regards, saludos

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

Postby Rick Lipkin » Mon Jan 16, 2006 10:28 pm

James

I just sent you by private e-mail the FWH27, xHarbour 99.51 ( borland and msvc ) xMate environments.

FWH27 and the latest cvs 99.51 have to be used together .. lots of changes made to xHarbour and FWH... ( ie .. dbfdbt is no longer needed .. pcrepos and hbsix supersceed )

If you are using FWH26 .. delete the hbsix and pcrepos libs from the environments and replace with dbfdbt.

Hope this helps.

Rick Lipkin
SC Dept of Health, USA
User avatar
Rick Lipkin
 
Posts: 2642
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA


Return to FiveWin for Harbour/xHarbour

Who is online

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