[MS4W-Users] Error building mapserver - windows vista

Jeff McKenna jmckenna at gatewaygeomatics.com
Thu Nov 5 13:58:06 EST 2009


joel ml wrote:
> 	cl /nologo /Ox /MD /W3  /EHsc /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE -IC:\Projects\mapserver-5.4.2\..\gd-2.0.35  -IC:\Projects\mapserver-5.4.2\..\jpeg-6b   -IC:\Projects\mapserver-5.4.2\..\proj-svn-04222009/src -IC:\Projects\mapserver-5.4.2\..\regex-0.12 -IC:\Projects\mapserver-5.4.2\..\gdal-svn-06232009/gcore -IC:\Projects\mapserver-5.4.2\..\gdal-svn-06232009/alg -IC:\Projects\mapserver-5.4.2\..\gdal-svn-06232009/ogr -IC:\Projects\mapserver-5.4.2\..\gdal-svn-06232009/port -IC:\Projects\mapserver-5.4.2\..\gdal-svn-06232009/ogr/ogrsf_frmts -IC:\Projects\mapserver-5.4.2\..\gdal-svn-06232009/ogr -IC:\Projects\mapserver-5.4.2\..\gdal-svn-06232009/port  -IC:\Projects\mapserver-5.4.2\..\curl-7.19.4/include  -IC:\Projects\mapserver-5.4.2\..\PDFlib-Lite-7.0.4p1/libs/pdflib -IC:\Projects\mapserver-5.4.2\..\postgresql-8.3.7/src/interfaces/libpq -IC:\Projects\mapserver-5.4.2\..\postgresql-8.3.7/src/include     
>  -IC:\Projects\mapserver-5.4.2\..\libiconv-1.9.1\include  -IC:\Projects\mapserver-5.4.2\..\geos-06232009/source/headers -IC:\Projects\mapserver-5.4.2\..\geos-06232009/capi -IC:\Projects\mapserver-5.4.2\..\zlib-1.2.3 -IC:\Projects\mapserver-5.4.2\..\libxml2-2.7.3.win32/include  -IC:\Projects\mapserver-5.4.2\..\agg-2.4\include -IC:\Projects\mapserver-5.4.2\..\agg-2.4\include\platform\win32 -IC:\Projects\mapserver-5.4.2\..\freetype-2.3.9\include -IC:\Projects\mapserver-5.4.2\..\agg-2.4\font_freetype -IC:\Projects\mapserver-5.4.2\..\libpng-1.2.35 -IC:\Projects\mapserver-5.4.2\..\fribidi-0.19.1\lib -IC:\Projects\mapserver-5.4.2\..\fribidi-0.19.1\charset -DHAVE_STRING_H -DREGEX_MALLOC -DNEED_STRCASECMP -DNEED_STRNCASECMP -DNEED_STRLCAT -DNEED_STRRSTR -DNEED_STRCASESTR -DUSE_POSTGIS   -DUSE_PROJ -DUSE_PROJ_API_H  -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG  -DUSE_GD_GIF -DGD_HAS_GDIMAGEGIFPTR -DUSE_GD_FT -DGD_HAS_GETBITMAPFONT -DGD_HAS_FTEX_XSHOW -DUSE_OGR
>  -DUSE_WMS_SVR -DUSE_THREAD  -DUSE_WMS_LYR  -DIGNORE_MISSING_DATA      -DUSE_GDAL   -DUSE_WFS_SVR -DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_PDF   -DUSE_GD_ANTIALIAS     -DUSE_ICONV -DUSE_GEOS -DUSE_ZLIB -DUSE_SOS_SVR  -DUSE_LIBXML2 -DUSE_AGG -DUSE_RGBA_PNG -DUSE_FRIBIDI -DWIN32 -D_WIN32 /c maphttp.c /Fomaphttp.obj
> maphttp.c
> C:\Projects\mapserver-5.4.2\..\curl-7.19.4/include\curl/curl.h(64) : fatal error C1083: No se puede abrir el archivo incluir: 'winsock2.h': No such file or directory
> 
> ........................................................................
> help!
> 

Hello,

It looks like you need to point your build to the Microsoft SDK (I use 
v6.1), which does include the file 'winsock2.h'

-jeff



-- 
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/







More information about the MS4W-Users mailing list