Page 1 of 1

Error Re-build TWbrowse 1.7 of Hernan with xHb.com & FWH

Posted: Tue Dec 25, 2007 4:30 am
by dutch
Dear All,

I re-install FW707 & xHB.com Jan'07. I try to build Twbrowse 1.7 of Hernan but it's got an error. I used to success to re-compile but I cannot remember.

Code: Select all

Type: C >>>xhb.exe -o"WBROWSE.c" -m -n -p -q -gc0 -D__HARBOUR__   -I"C:\fwh\include" -I"C:\xHB\include" -I"C:\xHB\include\w32" "C:\FWH\Download\TWBROWSE\SOURCE\WBROWSE.PRG"<<<

xHarbour Compiler build 0.99.70 (SimpLex)
Copyright 1999-2006, http://www.xharbour.org http://www.harbour-project.org/
Generating object output to 'WBROWSE.obj'...

Type: C >>>xhb.exe -o"TMULTISE.c" -m -n -p -q -gc0 -D__HARBOUR__   -I"C:\fwh\include" -I"C:\xHB\include" -I"C:\xHB\include\w32" "C:\FWH\Download\TWBROWSE\SOURCE\TMULTISE.PRG"<<<

xHarbour Compiler build 0.99.70 (SimpLex)
Copyright 1999-2006, http://www.xharbour.org http://www.harbour-project.org/
Generating object output to 'TMULTISE.obj'...

Type: C >>>xlib.exe  -out:"lib\twbrw32.lib"  "WBROWSE.obj"  "TMULTISE.obj"  "OBJ\WBRWLINE.OBJ" <<<

xLIB: fatal error: Invalid machine type in object 'OBJ\WBRWLINE.OBJ'.


Type: C >>>Couldn't build: twbrw32.lib<<<
Type: C >>>TMAKEPROJECT<<<
Type: C >>>TMAKEPROJECT:REFRESH<<<
Type: N >>>      1278<<<
Regards,
Dutch

Posted: Thu Dec 27, 2007 10:46 am
by StefanHaupt
Dutch,

wbrwline.obj was compiled with borland and you are using xhb, which uses the microsoft object format. You must recompile wbrwline with Ms C or PellesC.

Posted: Thu Dec 27, 2007 1:50 pm
by dutch
Dear Stefan,

I've got it.

Thanks,
Dutch