Page 1 of 1

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

PostPosted: Thu Feb 02, 2006 6:41 pm
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<<<

PostPosted: Thu Feb 02, 2006 7:20 pm
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.

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

PostPosted: Thu Feb 02, 2006 8:15 pm
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

Thanks Richard

PostPosted: Fri Feb 03, 2006 4:06 pm
by Mike Buckler
That was It.