[mapserver-users] Compile Error in mapserver-6.0.1 in mapogr.cpp

Matt Pettis matthew.pettis at gmail.com
Tue Nov 22 19:24:07 PST 2011


Hi,

Trying to compile under Ubuntu 8.04 LTS.  configure script passed, but get
error at bottome during make/compile.  Is there a patch for this, or a
higher version?

Thanks,
Matt


g++ -c -O2 -fPIC -Wall  -DNDEBUG    -DHAVE_VSNPRINTF -DNEED_STRLCPY
-DNEED_STRLCAT -DNEED_STRRSTR     -DUSE_FASTCGI         -DUSE_LIBXML2   
-DUSE_WFS_SVR -DUSE_WMS_SVR   -DUSE_POSTGIS -DPOSTGIS_HAS_SERVER_VERSION 
-DUSE_OGR   -DUSE_PROJ    -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 -DGD_HAS_GET_TRUE_COLOR_PIXEL -DUSE_ICONV -DUSE_GIF
-DUSE_PNG -DUSE_ZLIB -DUSE_FREETYPE   -DDISABLE_CVSID
-I/usr/include/freetype2     -I/usr//include -Irenderers/agg/include  
-I/usr//include   -I/usr/include/gdal -I/usr/include/postgresql     
-I/usr/include -I/usr/include/fastcgi  -I/usr/include/libxml2   mapogr.cpp
-o mapogr.o
mapogr.cpp:3215:46: error: macro "MS_INIT_COLOR" requires 5 arguments, but
only 4 given
mapogr.cpp:3221:50: error: macro "MS_INIT_COLOR" requires 5 arguments, but
only 4 given
mapogr.cpp: In function 'int msOGRUpdateStyle(OGRStyleMgr*, mapObj*,
layerObj*, classObj*)':
mapogr.cpp:3053: error: 'struct labelObj' has no member named
'backgroundcolor'
mapogr.cpp:3053: error: 'struct labelObj' has no member named
'backgroundcolor'
mapogr.cpp:3053: error: 'struct labelObj' has no member named
'backgroundcolor'
mapogr.cpp:3053: error: 'struct labelObj' has no member named
'backgroundcolor'
mapogr.cpp:3053: error: 'struct labelObj' has no member named
'backgroundcolor'
mapogr.cpp:3215: error: 'MS_INIT_COLOR' was not declared in this scope
make: *** [mapogr.o] Error 1



--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Compile-Error-in-mapserver-6-0-1-in-mapogr-cpp-tp7023084p7023084.html
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the MapServer-users mailing list