don't know why this is coming out as an error ... it's an old debugging message that should have been removed...<br><br> you can safely remove the two occurences of this code<br>if ( pRowCache == NULL )<br> {<br>
fprintf ( pLogFile, "imageFilledPolygon pRowCache == NULL, extra is %08x\n", (int)image->imageextra );<br> return;<br> }<br><br>in mapagg.cpp<br><br>thomas<br><br><div><span class="gmail_quote">
On 7/27/07, <b class="gmail_sendername">James McManus McManus</b> <<a href="mailto:jmpmcmanus@yahoo.com">jmpmcmanus@yahoo.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am attempting to install mapserver-5.0.0-beta1, with agg support, on a x86_64 machine, runing fedora core 7. I first installed agg using the fedora Package Manager. It put the libraries in /usr/lib64 and headers in /usr/include/agg2. When I configure a specify --with-agg=/usr, however, the following error message occurs:
<br><br>checking if AGG support requested... configure: error: "could not find agg_rendering_buffer.h or libagg.a in /usr."<br><br>I double checked and these files exist.<br><br>I then downloaded and installed agg-2.5
in /usr/local/agg. I was able to configure mapserver, with this build of aag, but when I attempted to make I got the following error messages:<br><br>g++ -g -O2 -fPIC -Wall -DENABLE_STDERR_DEBUG -DNEED_NONBLOCKING_STDERR -DHAVE_VSNPRINTF -DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_SOS_SVR -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG
-DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_FTEX_XSHOW -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS -DUSE_AGG -DUSE_PDF -DUSE_OGR -DUSE_GDAL -DUSE_GEOS -DUSE_ICONV -DUSE_POSTGIS -DUSE_THREAD -I/usr/include -I/usr/local/agg/include/agg2 -I/usr/include -I/usr/include/gdal/ -I/usr/include -I/usr/include -I/usr/include/libxml2 -c -o
mapagg.o mapagg.cpp<br>mapagg.cpp: In function 'void msImageInitAGG(imageObj*, colorObj*)':<br>mapagg.cpp:144: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'void*'<br>mapagg.cpp: In function 'void imagePolyline(imageObj*, shapeObj*, colorObj*, int, int, int, int, int*)':
<br>mapagg.cpp:263: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'void*'<br>mapagg.cpp: In function 'void imageFilledPolygon2(imageObj*, shapeObj*, colorObj*, int,
int)':<br>mapagg.cpp:338: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'void*'<br>mapagg.cpp: In function 'void imageFilledPolygon(imageObj*, shapeObj*, colorObj*, int, int)':<br>mapagg.cpp
:387: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'void*'<br>mapagg.cpp: In function 'void msDrawMarkerSymbolAGGEllipse(symbolObj*, double, double, char, styleObj*, int, int, gdImage*, pointObj*)':
<br>mapagg.cpp:541: warning: passing 'double' for argument 7 to 'void gdImageFilledArc(gdImage*, int, int, int, int, int, int, int, int)'<br>mapagg.cpp:542: warning: passing 'double' for argument 7 to 'void gdImageFilledArc(gdImage*, int, int, int, int, int, int, int, int)'
<br>mapagg.cpp:546: warning: passing 'double' for argument 7 to 'void gdImageFilledArc(gdImage*, int, int, int, int, int, int, int, int)'<br>mapagg.cpp: In function 'void
msDrawMarkerSymbolAGGVector(symbolObj*, double, double, char, styleObj*, int, int, gdImage*, pointObj*, imageObj*)':<br>mapagg.cpp:635: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'void*'
<br>mapagg.cpp: In function 'void msPieSliceAGG(imageObj*, styleObj*, double, double, double, double, double)':<br>mapagg.cpp:928: error: cast from 'void*' to 'int' loses precision<br>mapagg.cpp: In function 'void msFilledRectangleAGG(imageObj*, styleObj*, double, double, double, double)':
<br>mapagg.cpp:995: error: cast from 'void*' to 'int' loses precision<br>mapagg.cpp: At global scope:<br>mapagg.cpp:333: warning: 'void imageFilledPolygon2(imageObj*, shapeObj*, colorObj*, int, int)' defined but not used<br>
mapagg.cpp:1040: warning: 'nmsTransformShapeAGG' defined but not used<br>make: *** [mapagg.o] Error 1<br><br>Jim<br><br><br></blockquote></div><br>