Mapserver 5.0.2 compilation fails at Agg/GD
Sylvain Perrinel
sylvain.perrinel at AGRICULTURE.GOUV.FR
Thu Feb 7 07:06:00 PST 2008
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.
--
Sylvain Perrinel
France / Ministère de l'Agriculture
More information about the MapServer-users
mailing list