Unresolved external in new FWH 15.02

Unresolved external in new FWH 15.02

Postby driessen » Mon Feb 23, 2015 3:17 pm

Hello,

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.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: Unresolved external in new FWH 15.02

Postby nageswaragunupudi » Mon Feb 23, 2015 4:30 pm

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.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10642
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Unresolved external in new FWH 15.02

Postby Enrico Maria Giordano » Mon Feb 23, 2015 8:00 pm

Rao,

why do we need gdiplus? I don't want to bloat my EXEs. :-)

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8715
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Unresolved external in new FWH 15.02

Postby driessen » Mon Feb 23, 2015 8:01 pm

I always try to build my application in Harbour and in xHarbour.

In Harbour, everything is just fine.

In xHarbour I got an error :
Type: C >>>xlink.exe -NOEXPOBJ -MAP -FORCE:MULTIPLE -NOIMPLIB -subsystem:windows -UNMANGLE -LIBPATH:"C:\SOFTWARE\FWHARB\LIB" -LIBPATH:"C:\SOFTWARE\xHarbour\lib" -LIBPATH:"C:\SOFTWARE\xHarbour\c_lib" -LIBPATH:"C:\SOFTWARE\xHarbour\c_lib\win" "\SOFTWARE\JUDA\OBJX\JUDA.obj" "\SOFTWARE\JUDA\OBJX\BEHAGEN1.obj" "\SOFTWARE\JUDA\OBJX\BEHAGEN2.obj" "\SOFTWARE\JUDA\OBJX\BEHBOEK1.obj" "\SOFTWARE\JUDA\OBJX\BEHBOEK2.obj" "\SOFTWARE\JUDA\OBJX\BEHDOSS1.obj" "\SOFTWARE\JUDA\OBJX\BEHDOSS2.obj" "\SOFTWARE\JUDA\OBJX\BEHINTRX.obj" "\SOFTWARE\JUDA\OBJX\BEHPAAND.obj" "\SOFTWARE\JUDA\OBJX\BEHPARAM.obj" "\SOFTWARE\JUDA\OBJX\BEHPRARC.obj" "\SOFTWARE\JUDA\OBJX\BEHSOOR1.obj" "\SOFTWARE\JUDA\OBJX\BEHSOOR2.obj" "\SOFTWARE\JUDA\OBJX\BEHUSER.obj" "\SOFTWARE\JUDA\OBJX\DOCWP1.obj" "\SOFTWARE\JUDA\OBJX\DOCWP2.obj" "\SOFTWARE\JUDA\OBJX\FGEGTL1.obj" "\SOFTWARE\JUDA\OBJX\FGEGTL2.obj" "\SOFTWARE\JUDA\OBJX\MAKEIND.obj" "\SOFTWARE\JUDA\OBJX\RAPAGPRE.obj" "\SOFTWARE\JUDA\OBJX\RAPDOSBH.obj" "\SOFTWARE\JUDA\OBJX\TINATIVO.obj" "\SOFTWARE\JUDA\OBJX\Z-ERROR1.obj" "\SOFTWARE\JUDA\OBJX\Z-RPREV.obj" "\SOFTWARE\JUDA\OBJX\Z-TGET.obj" "\SOFTWARE\JUDA\OBJX\Z-WBROWS.obj" "\SOFTWARE\JUDA\RES\JUDA.RES" "C:\Program Files\Borland\BCC582\Lib\PSDK\GdiPlus.lib" "C:\SOFTWARE\FwHarb-Lib\libcmt.lib" "C:\SOFTWARE\FwHarb-Lib\libcpmt.lib" "C:\SOFTWARE\FwHarb-Lib\mem32.lib" "C:\SOFTWARE\FwHarb-Lib\png.lib" "C:\SOFTWARE\FwHarb-Lib\send32.lib" "C:\SOFTWARE\FwHarb-Lib\winzip.lib" "C:\SOFTWARE\FWHARB\LIB\FiveHCM.lib" "C:\SOFTWARE\FWHARB\LIB\FiveHMX.lib" "OptG.lib" "xhb.lib" "dbf.lib" "nsx.lib" "ntx.lib" "cdx.lib" "rmdbfcdx.lib" "ct3comm.lib" crt.lib kernel32.lib user32.lib winspool.lib ole32.lib oleaut32.lib odbc32.lib odbccp32.lib uuid.lib wsock32.lib ws2_32.lib wininet.lib advapi32.lib shlwapi.lib msimg32.lib mpr.lib OleDlg.lib version.lib comctl32.lib comdlg32.lib gdi32.lib shell32.lib winmm.lib lz32.lib Netapi32.lib -out:"\SOFTWARE\JUDA\JUDA_1.EXE"<<<

xLINK: fatal error: Corrupt library: 'C:\Program Files\Borland\BCC582\Lib\PSDK\GdiPlus.lib'.


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.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: Unresolved external in new FWH 15.02

Postby nageswaragunupudi » Mon Feb 23, 2015 8:36 pm

Enrico Maria Giordano wrote:Rao,

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.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10642
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Unresolved external in new FWH 15.02

Postby Baxajaun » Mon Feb 23, 2015 8:52 pm

Mr. Rao,

thanks a lot for the info.

Best regards,
User avatar
Baxajaun
 
Posts: 968
Joined: Wed Oct 19, 2005 2:17 pm
Location: Gatika. Bizkaia


Re: Unresolved external in new FWH 15.02

Postby cnavarro » Mon Feb 23, 2015 9:36 pm

Mr Rao, thanks
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
User avatar
cnavarro
 
Posts: 6548
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Unresolved external in new FWH 15.02

Postby driessen » Mon Feb 23, 2015 10:04 pm

Sorry guys,

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.07 - Harbour 3.2.0 (February 2024) - xHarbour Builder (January 2020) - Bcc773
User avatar
driessen
 
Posts: 1422
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: Unresolved external in new FWH 15.02

Postby Antonio Linares » Mon Feb 23, 2015 11:20 pm

Michel,

Do you mean DLL or LIB ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 55 guests