I got a lot of unresolved externals when rebuilding my application with FWH 15.02 :
Error: Unresolved external 'GdipFree' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipCloneBrush' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipAlloc' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipDeleteBrush' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipCloneImage' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipDisposeImage' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipDeleteGraphics' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipCreateBitmapFromStreamICM' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipCreateBitmapFromStream' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipCreateSolidFill' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipGetImageWidth' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipGetImageHeight' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipCreateBitmapFromScan0' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipGetImageGraphicsContext' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipFillRectangleI' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipDrawImageRectI' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipSaveImageToFile' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipSetSmoothingMode' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipDrawLine' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipFillRectangle' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipDrawRectangle' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipFillEllipse' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipDrawEllipse' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipDrawArc' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipDrawPath' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipCreateFromHDC' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipSetPageUnit' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipDrawImageI' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipSetPenWidth' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipSetPenMode' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipSetPenColor' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipDeletePen' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipCreatePen1' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipSetPenLineCap197819' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdiplusStartup' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdiplusShutdown' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipAddPathLineI' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipAddPathRectangleI' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipAddPathArcI' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipClosePathFigure' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipDeletePath' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipCreatePath' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipCreateBitmapFromHBITMAP' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipCreateHBITMAPFromBitmap' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipImageRotateFlip' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipBitmapGetPixel' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipBitmapSetPixel' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipGetImagePixelFormat' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipCreateBitmapFromFileICM' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipCreateBitmapFromFile' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS Error: Unresolved external 'GdipGetImageThumbnail' referenced from C:\SOFTWARE\FWHARB\LIB\FIVEHC.LIB|GDIPLUS
What to do to solve it?
Thanks.
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.09 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
if you are using borland compiler you need to include c:\bcc582\lib\psdk\gdiplus.lib. For microsoft, gdi32.lib and gdiplus.lib. For other compilers please refer to build??.bat in \fwh\samples folder.
In any case please ensure inclusion of all libraries listed in the build??.bat corresponding to the linker you are using.
Type: C >>>Couldn't build: JUDA_1.EXE<<< Type: C >>>TMAKEPROJECT<<< Type: C >>>TMAKEPROJECT:REFRESH<<< Type: N >>> 1406<<<
Anyone any idea ?
I use FWH 15.02 and xHarbour Builder Febr. 2015.
Thanks.
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.09 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
why do we need gdiplus? I don't want to bloat my EXEs.
EMG
gdiplus.lib was included in the link scripts of previous versions too.
FWH is making efforts to reduce dependence on freeimage.dll and finally do away with it. Agreed that it may take some more time. For now FWH is using gdi for png images and pdf generation. Once we convert all png handling to gdi, we can drop linking png.lib which we are linking now. In a matter of few months we expect to completely avoid using freeimage.dll.
Incidentally we found that the quality of rendering png files read with gdi is far better than using freeimage.dll.
gdiplus.lib may add 27KB now, but soon this helps us to drop png.lib of 153KB and that will reduce the exe size.
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
I found the solution to my problem with gdiplus.dll while rebuilding my application with xHarbour.
I used gdiplus.dll from the xHarbour folder and my problem is solved.
Thanks.
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 24.09 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773