On Feb 7, 2008, at 9:06 AM, Sylvain Perrinel wrote:
Hello list,
I'm trying to compile Mapserver 5.0.2 on RedHat 4 E.L. with Agg-2.5.
Configuration is oki but compilation fails on this lines :
mapgd.c:1003: attention : « drawVectorSymbolGD » défini mais n'a
pas été utilisé
g++ -O2 -fPIC -Wall -DNEED_NONBLOCKING_STDERR -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_AGG -DUSE_OGR -DUSE_GDAL -DUSE_GEOS -
DUSE_ICONV -DUSE_POSTGIS -DUSE_ZLIB -I/usr/include -I/export/
home/rimboval/sgbdr/agg-2.5/include -I/export/home/rimboval/sgbdr/
agg-2.5/font_freetype -I/usr/include/freetype2 -I/export/home/
rimboval/sgbdr/logicielDIG/include -I/export/home/rimboval/sgbdr/
logicielDIG/include -I/export/home/rimboval/sgbdr/logicielDIG/
include -I/export/home/rimboval/sgbdr/logicielDIG/include -c -
o mapagg.o mapagg.cpp
mapagg.cpp: In function `agg::rendering_buffer
gdImg2AGGRB_BGRA(gdImage*)':
mapagg.cpp:201: erreur: « gdImageGetTrueColorPixel » n'a pas été
déclaré dans cet horizon
mapagg.cpp:201: attention : variable « gdImageGetTrueColorPixel »
inutilisée
make: *** [mapagg.o] Erreur 1
The failure seems to be associated with Agg and GD. The GD version
is 2.0.28.
Thanks for any suggestions.
I think you need GD version 2.0.32 or greater (the newer the better).
Howard