Upgrading from an old version of FiveWin to latest one ( 2015/10 ).
Using MinGW Harbour
Harbour version 3.2.0dev (r1508011114)
MinGW-W64 version 4.9.2
After some minor issues, I got stuck with a linking problems.
After getting this errors
- Code: Select all Expand view
- C:/hb32/fwh/lib/fivehgc.lib(GDIPLUS.o):GDIPLUS.CPP:(.text+0xb01): undefined reference to `operator new(unsigned int)'
C:/hb32/fwh/lib/fivehgc.lib(GDIPLUS.o):GDIPLUS.CPP:(.text+0xc06): undefined reference to `GdiplusStartup@12'
C:/hb32/fwh/lib/fivehgc.lib(GDIPLUS.o):GDIPLUS.CPP:(.text+0xc26): undefined reference to `GdiplusShutdown@4'
C:/hb32/comp/mingw/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: C:/hb32/fwh/lib/fivehgc.lib(GDIPLUS.o): bad reloc address 0xd in section `.text$_ZN7Gdiplus6PointFC1Ev[__ZN7Gdiplus6PointFC1Ev]'
I added -lgdiplus to the link script and the error changed to
- Code: Select all Expand view
- C:/hb32/fwh/lib/fivehgc.lib(GDIPLUS.o):GDIPLUS.CPP:(.text+0xb01): undefined reference to `operator new(unsigned int)'
C:/hb32/fwh/lib/fivehgc.lib(GDIPLUS.o):GDIPLUS.CPP:(.rdata$_ZTIN7Gdiplus17PathGradientBrushE[__ZTIN7Gdiplus17PathGradientBrushE]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
C:/hb32/comp/mingw/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe: C:/hb32/fwh/lib/fivehgc.lib(GDIPLUS.o): bad reloc address 0x0 in section `.rdata$_ZTIN7Gdiplus17PathGradientBrushE[__ZTIN7Gdiplus17PathGradientBrushE]'
I am stuck...
Does anyone knows what else needs to be done / linked ?
Regards.