FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Error with the latest Fwh ( 11.30 )
Posts: 437
Joined: Fri Oct 07, 2005 12:56 PM
Error with the latest Fwh ( 11.30 )
Posted: Thu Dec 01, 2011 07:34 PM
Hi Antonio,

I downloaded the latest Fwh today and wanted to create own application . But get that :

Code (fw): Select all Collapse
Generating C source output to 'obj\engel.c'... Done.
hbmk2: Compiling...
hbmk2: Linking... engel.exe
C:/hrb/lib/win/mingw/libhbrtl.a(saverest.o):saverest.c:(.text+0x0): multiple definition of `HB_FUN_SAVESCREEN'
/fwh/lib/fivehg.lib(C5LIB.o):C5LIB.c:(.text+0x15b): first defined here
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc.exe obj/engel.o obj/func.o obj/func_dsg.o obj/func_dt.o obj/tarray.o obj/texcels.o obj/_hbmkaut_engel.o  obj/engel.reso  -mwindows -Wl,--start-group -lfivehg -lfivehgc -lgtgui -luser32 -lwinspool -lkernel32 -lcomctl32 -lcomdlg32 -lgdi32 -lole32 -loleaut32 -lpsapi -loledlg -lmfcuia32 -lmsimg32 -lwin32k -lstdc++ -lversion -luuid -lwinmm -lvfw32 -lwsock32 -lhbcommon -lhbcpage -lhbcplr -lhbct -lhbhsx -lhblang -lhbmacro -lhbmainstd -lhbmzip -lodbc32 -lhbpcre -lhbpp -lhbrdd -lhbrtl -lhbsix -lhbsqlit3 -lhbtip -lhbusrrdd -lhbvm -lhbwin -lhbzlib -lrddcdx -lrddfpt -lrddntx -lxhb -lpng -lhbextern -lhbdebug -lhbvm -lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgtwin -lgtwvt -lgtgui -lhbrdd -lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd -lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lhbmainwin -lkernel32 -luser32 -lgdi32 -ladvapi32 -lws2_32 -lwinspool -lcomctl32 -lcomdlg32 -lshell32 -luuid -lole32 -loleaut32 -lmpr -lwinmm -lmapi32 -limm32 -lmsimg32 -lwininet -lhbpcre -lhbzlib   -Wl,--end-group -oengel.exe  -LC:/hrb/lib/win/mingw -LC:/hrb/bin -L/fwh/lib


Maybe something wrong on mine side ? The samples from fwh\samples are creating OK ...

With best regards !
Rimantas U.
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Error with the latest Fwh ( 11.30 )
Posted: Thu Dec 01, 2011 09:10 PM

Rimantas,

There is a conflict between C5 SaveScreen() and Harbour's one. Fixed! :-)

I send you the modified libs :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion