Problem new fwh and xharbour will not compile Need Help ???

Post Reply
Mike Buckler
Posts: 67
Joined: Thu Jan 05, 2006 10:35 pm
Location: Canada
Contact:

Problem new fwh and xharbour will not compile Need Help ???

Post by Mike Buckler »

I installed the latest FWH and xharbour from xharbour.com and can no longer compile any samples. (I also recompiled the fivemx.lib)
I receive the following error log.

What am I doing wrong??

Type: C >>>xlink.exe -NOEXPOBJ -MAP -FORCE:MULTIPLE -NOIMPLIB -subsystem:windows -UNMANGLE -LIBPATH:"C:\xHB\lib" -LIBPATH:"C:\xHB\c_lib" -LIBPATH:"C:\xHB\c_lib\win" -LIBPATH:"C:\fwh\libx" -LIBPATH:"C:\fwh\lib" "bmp.obj" FiveHCM.lib FiveHMX.lib OptG.lib xhb.lib dbf.lib ntx.lib cdx.lib rmdbfcdx.lib activex.lib crt.lib kernel32.lib user32.lib winspool.lib ole32.lib oleaut32.lib odbc32.lib uuid.lib wsock32.lib ws2_32.lib wininet.lib advapi32.lib shlwapi.lib comctl32.lib comdlg32.lib gdi32.lib shell32.lib winmm.lib lz32.lib Netapi32.lib -out:"bmp.exe"<<<

xLINK: error: Unresolved external symbol '_HB_FUN_TREBAR'.

xLINK: error: Unresolved external symbol '_HB_FUN_TTOOLBAR'.

xLINK: fatal error: 2 unresolved external(s).


Type: C >>>Couldn't build: bmp.exe<<<
Type: C >>>TMAKEPROJECT<<<
Type: C >>>TMAKEPROJECT:REFRESH<<<
Type: N >>> 1263<<<
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Mike,

It looks as you have not included TToolBar and TRebar classes into Fivehmx.lib

Please check your make or batch file to recompile FWH PRGs.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Re: Problem new fwh and xharbour will not compile Need Help

Post by Richard Chidiak »

Mike Buckler wrote:I installed the latest FWH and xharbour from xharbour.com and can no longer compile any samples. (I also recompiled the fivemx.lib)
I receive the following error log.

What am I doing wrong??

Type: C >>>xlink.exe -NOEXPOBJ -MAP -FORCE:MULTIPLE -NOIMPLIB -subsystem:windows -UNMANGLE -LIBPATH:"C:\xHB\lib" -LIBPATH:"C:\xHB\c_lib" -LIBPATH:"C:\xHB\c_lib\win" -LIBPATH:"C:\fwh\libx" -LIBPATH:"C:\fwh\lib" "bmp.obj" FiveHCM.lib FiveHMX.lib OptG.lib xhb.lib dbf.lib ntx.lib cdx.lib rmdbfcdx.lib activex.lib crt.lib kernel32.lib user32.lib winspool.lib ole32.lib oleaut32.lib odbc32.lib uuid.lib wsock32.lib ws2_32.lib wininet.lib advapi32.lib shlwapi.lib comctl32.lib comdlg32.lib gdi32.lib shell32.lib winmm.lib lz32.lib Netapi32.lib -out:"bmp.exe"<<<

xLINK: error: Unresolved external symbol '_HB_FUN_TREBAR'.

xLINK: error: Unresolved external symbol '_HB_FUN_TTOOLBAR'.

xLINK: fatal error: 2 unresolved external(s).


Type: C >>>Couldn't build: bmp.exe<<<
Type: C >>>TMAKEPROJECT<<<
Type: C >>>TMAKEPROJECT:REFRESH<<<
Type: N >>> 1263<<<
Mike

I use latest fwh and latest xharbour.com without any problems.

You do not have to build fivehmx.lib and i would highly recommend not to do it. Just use the standards from fwh and everything will go OK. Make sure your xbp link file uses the correct fwh directory

Richard
Mike Buckler
Posts: 67
Joined: Thu Jan 05, 2006 10:35 pm
Location: Canada
Contact:

Thanks Richard

Post by Mike Buckler »

That was It.
Post Reply