[mapserver-dev] Trunk build error...

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Sun Oct 3 11:41:26 EDT 2010


Hi all: I'm running into:

g++ -c -O2 -fPIC -Wall     -DHAVE_VSNPRINTF -DNEED_STRRSTR                  -DUSE_WMS_SVR    -DUSE_POSTGIS -DPOSTGIS_HAS_SERVER_VERSION -DUSE_GDAL  -DUSE_GEOS   -DUSE_PROJ -DUSE_RGBA_PNG -DUSE_AGG      -DUSE_GD_GIF -DUSE_GD_PNG -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_ZLIB    -I/usr/X11/include -I/usr/local/include -I/sw/include/freetype2 -I/sw/include -Irenderers/agg/include     -I/sw/include   -I/usr/local/include -I/sw/include/postgresql     -I/usr/local/include       mapogr.cpp -o mapogr.o
mapogr.cpp:2756: error: ‘OGRStyleMgrH’ was not declared in this scope
mapogr.cpp:2756: error: expected primary-expression before ‘*’ token
mapogr.cpp:2756: error: ‘map’ was not declared in this scope
mapogr.cpp:2756: error: expected primary-expression before ‘*’ token
mapogr.cpp:2756: error: ‘layer’ was not declared in this scope
mapogr.cpp:2756: error: expected primary-expression before ‘*’ token
mapogr.cpp:2756: error: ‘c’ was not declared in this scope
mapogr.cpp:2756: error: initializer expression list treated as compound expression
mapogr.cpp:2760: error: expected ‘,’ or ‘;’ before ‘{’ token
mapogr.cpp:2756: warning: ‘msOGRUpdateStyle’ defined but not used
make: *** [mapogr.o] Error 1

Steve


More information about the mapserver-dev mailing list