Hi David,

You should add hbgd.hbc to link all required libs,
looks like gd import lib is missing in this case.

Plus apparently hbgd requires hbct lib, too. I'll fix that in
SVN, until then also add -lhbct option.

Brgds,
Viktor

On Thu, Feb 25, 2010 at 3:59 PM, David MS <[email protected]> wrote:

> Hi Viktor,
>
> I have these errors when I including gdextern.ch
>
> C:/harbour-svn/harbour/lib/win/mingw/libhbgd.a(gdchart.o):gdchart.c:(.data+0x328):
> referencia a `HB_FUN_COS' sin definir
> C:/harbour-svn/harbour/lib/win/mingw/libhbgd.a(gdchart.o):gdchart.c:(.data+0x348):
> referencia a `HB_FUN_SIN' sin definir
> C:/harbour-svn/harbour/lib/win/mingw/libhbgd.a(gdchart.o):gdchart.c:(.data+0x4d8):
> referencia a `HB_FUN_CEILING' sin definir
> C:/harbour-svn/harbour/lib/win/mingw/libhbgd.a(gdimage.o):gdimage.c:(.data+0x848):
> referencia a `HB_FUN_PI' sin definir
> C:/harbour-svn/harbour/lib/win/mingw/libhbgd.a(gdimage.o):gdimage.c:(.data+0xa48):
> referencia a `HB_FUN_COS' sin definir
> C:/harbour-svn/harbour/lib/win/mingw/libhbgd.a(gdimage.o):gdimage.c:(.data+0xa58):
> referencia a `HB_FUN_SIN' sin definir
> C:/harbour-svn/harbour/lib/win/mingw/libhbgd.a(gdwrp.o):gdwrp.c:(.text+0x17):
> referencia a `gdimagedest...@4'  sin definir
> C:/harbour-svn/harbour/lib/win/mingw/libhbgd.a(gdwrp.o):gdwrp.c:(.text+0x29e):
> referencia a `gdimagecreatefromgd...@8'  sin definir
>
> ...
> ...
>
> C:/harbour-svn/harbour/lib/win/mingw/libhbgd.a(gdwrp.o):gdwrp.c:(.text+0x4fb1):
> referencia a `gdfontcacheshutd...@0' sin  definir
> collect2: ld returned 1 exit status
> hbmk2: Error: Running linker. 1
>
> The project's hbp file contains -lhbgd. What am I doing wrong?
>
> TIA
> David MS
>
>
>
>
>
> _______________________________________________
> Harbour mailing list (attachment size limit: 40KB)
> [email protected]
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to