[Mapserver-dev] error in Mapserver compilation

Sean Gillies sgillies at frii.com
Fri May 14 10:02:27 EDT 2004


On May 14, 2004, at 7:43 AM, Vázquez Cascales, Sebastián wrote:

>
>
>         Hello everybody!
>
>         I'm a newbie to mapserver. I'm wanting to compile mapserver4.0 
> in win32 as part of a proyect. The final goal is building a simple gis 
> service in plone.
>
>  http://plonemap.makina-corpus.org/map (this one seems to be working 
> in a linux box)
>
> One of the problems that I have found is about mapows.c. At 
> compilation time I'm given an error
>
> C:\plonemap\mapserver-4.0>nmake /f Makefile.vc
>
> Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
>  Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
>
>         cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 
> -IC:\plonemap\mapserver-4.0\
>  gd-2.0.23     -IC:\plonemap\mapserver-4.0\regex-0.12 
> -IC:\plonemap\mapserver-4.0
>  \gdal-1.2.0/gcore -IC:\plonemap\mapserver-4.0\gdal-1.2.0/alg 
> -IC:\plonemap\mapse
> rver-4.0\gdal-1.2.0/ogr/ogrsf_frmts 
> -IC:\plonemap\mapserver-4.0\gdal-1.2.0/ogr -
>  IC:\plonemap\mapserver-4.0\gdal-1.2.0/ogr/../port  
> -Ic:/projects/curl-7.10.2/inc
>  lude       -DHAVE_STRING_H -DREGEX_MALLOC -DNEED_STRCASECMP 
> -DNEED_STRNCASECMP
>      -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_GIF 
> -DGD_HAS_GDIMAGEGIFPT
> R -DUSE_GD_FT -DUSE_OGR -DUSE_WMS_SVR  -DUSE_WMS_LYR  
> -DIGNORE_MISSING_DATA -DUS
>  E_GDAL  -DFEATURE_INFO_HTML -DUSE_WFS_SVR -DUSE_WFS_LYR    
> -DUSE_GD_ANTIALIAS /c
>   mapows.c /Fomapows.obj
> mapows.c
>  mapows.c(196) : warning C4090: 'function' : different 'const' 
> qualifiers
>  mapows.c(196) : warning C4024: 'strcasecmp' : different types for 
> formal and act
>  ual parameter 1
>  mapows.c(439) : error C2223: left of '->is_latlong' must point to 
> struct/union
>  mapows.c(497) : warning C4090: 'function' : different 'const' 
> qualifiers
>  mapows.c(497) : warning C4024: 'strcasecmp' : different types for 
> formal and act
>  ual parameter 1
>  mapows.c(734) : warning C4018: '!=' : signed/unsigned mismatch
>  NMAKE : fatal error U1077: 'cl' : return code '0x2'
>  Stop.
>
> it's included as an entry in Makefile.vc. Can I remove it? The issue 
> is that I don't know if I need OGC web services.
>
> Honestly, I'm not a programer!!
>
> thanks in advance
>

Hi Sebastián,

To use the Plone map you will not need OGC capabilities.

cheers,
Sean

--
Sean Gillies
sgillies at frii dot com
http://users.frii.com/sgillies




More information about the mapserver-dev mailing list