[mapserver-users] solved follow up information in COMPILING UNDER WINDOWS GD-1.8.4 & gd-2.0.1 linker error's

David Armstrong david.armstrong at ntlworld.com
Mon May 28 06:02:10 EDT 2001


to mapserver list

following on from my problems compiling under windows either of gd-1.8.4 &
gd-2.0.1 with help from Daniel the following solved my compile problem's
under windows 2000 & microsoft visual c using nmake

add in to objs    gdhelpers.obj  gd_wbmp.obj  wbmp.obj
change :-
OBJS=gd.obj  gd_gd.obj gd_gd2.obj gd_io.obj gd_io_dp.obj gd_io_file.obj
gd_ss.obj \

gd_io_ss.obj gd_png.obj gdxpm.obj gdfontt.obj gdfonts.obj gdfontmb.obj
gdfontl.obj \

gdfontg.obj gdtables.obj gdttf.obj gdft.obj gdcache.obj gdkanji.obj
gd_jpeg.obj

to :-
OBJS=gd.obj gdhelpers.obj gd_gd.obj gd_gd2.obj gd_io.obj gd_io_dp.obj
gd_io_file.obj gd_ss.obj \

gd_io_ss.obj gd_png.obj gdxpm.obj gdfontt.obj gdfonts.obj gdfontmb.obj
gdfontl.obj \

gdfontg.obj gdtables.obj gdttf.obj gdft.obj gdcache.obj gdkanji.obj
gd_jpeg.obj gd_wbmp.obj  wbmp.obj



and in file gd_wbmp.c :-

change the      #include <gd.h> to #include "gd.h"

                        #include <gdfonts.h> to  #include "gdfonts.h"

hoping this may help others

Regards All

David







More information about the mapserver-users mailing list