[mapserver-dev] Link problem with gd-2.0.35 on Windows
Tamas Szekeres
szekerest at gmail.com
Tue Jun 24 10:30:20 EDT 2008
Devs,
I've been trying to link mapserver against gd-2.0.35 and it seems like
the headers expect BGDWIN32 to be definied to avoid a number of
unresolved externals.
Any objection to change nmake.opt to include this flag something like:
!IFDEF WIN64
MS_CFLAGS=$(INCLUDES) $(MS_DEFS) -DWIN32 -D_WIN32
-DUSE_GENERIC_MS_NINT -DBGDWIN32
!ELSE
MS_CFLAGS=$(INCLUDES) $(MS_DEFS) -DWIN32 -D_WIN32 -DBGDWIN32
!ENDIF
I guess it should not cause any backward issues with the older libraries.
Best regards,
Tamas
More information about the mapserver-dev
mailing list