[Mapserver-users] Mapserver 4 Makefile for VC

Stephen Clark stephen.clark at focus.ca
Wed Oct 8 14:31:35 EDT 2003


This is a multi-part message in MIME format.

------=_NextPart_000_023B_01C38D8F.BB3EF150
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

I have included my makefile.vc and nmake.opt files as well as the compile
errors foer your consideration.

thanks,
Stephen



----- Original Message ----- 
From: "Stephen Clark" <stephen.clark at focus.ca>
To: "Swaminathan, Gayathri" <gayathri at ou.edu>; "'Yewondwossen Assefa'"
<assefa at dmsolutions.ca>
Cc: <mapserver-users at lists.gis.umn.edu>
Sent: Wednesday, October 08, 2003 10:23 AM
Subject: Re: [Mapserver-users] Mapserver 4 Makefile for VC


> Could someone post their makefile.vc and nmake.opt files.
>
> I would like a version that has the minimum set of options set whichI can
> then modify.
>
> thanks
> Stephen
>
>
>
> ----- Original Message ----- 
> From: "Swaminathan, Gayathri" <gayathri at ou.edu>
> To: "'Yewondwossen Assefa'" <assefa at dmsolutions.ca>
> Cc: <mapserver-users at lists.gis.umn.edu>
> Sent: Friday, September 19, 2003 8:03 AM
> Subject: RE: [Mapserver-users] Mapserver 4 Makefile for VC
>
>
> > :)
> > Missed that when looking, but after careful examination saw this file.,
> >
> > Thanks all as always for your patience and time on this.
> >
> > Gayathri
> >
> > -----Original Message-----
> > From: Yewondwossen Assefa [mailto:assefa at dmsolutions.ca]
> > Sent: Thursday, September 18, 2003 9:26 PM
> > To: Swaminathan, Gayathri
> > Cc: mapserver-users at lists.gis.umn.edu
> > Subject: Re: [Mapserver-users] Mapserver 4 Makefile for VC
> >
> >
> > Hi There,
> >
> >   There are now 2 files involved in the process, makefile.vc and
> > nmake.opt  where all the options are included. This separation makes
> > things clearer and the option file can be used by sub projects like
> > php/mapscript.
> > All settings for necessary libraries + optional libraries are inside the
> > nmake.opt.
> >
> > Later,
> >
> > Swaminathan, Gayathri wrote:
> > > Hi all:
> > >
> > > After being content with mapserver-3.6.5 for a long time now, I was
> > > getting ready to compile mapserver 4.0 and test it.
> > >
> > > There are several changes that I notice between mapserver-3.6.5 and
> > > mapserver-4.0. The makefile.vc in the package shrinked. I assumed this
> > > is not the One that I should be using and proceeded with alterations
> > > to my old makefile.vc that came from mapserver-3.6.5
> > >
> > > I was finally sucessful in building a mapserver with the following
> > > enabled.
> > >
> > > MapServer version 4.0 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ
> > > INPUT=EPP L7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
> > >
> > > I need WMS server and WMS Client with this. I see that libcurl is
> > > being used somehow and keep getting errors on the same.
> > >
> > > Please, indicate to me the right corrections to makefile.vc (or) tell
> > > me where am I going wrong in this process.
> > >
> > > Thanks so much for your time on this.
> > > Gayathri
> > > _______________________________________________
> > > Mapserver-users mailing list Mapserver-users at lists.gis.umn.edu
> > > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> > >
> >
> >
> > -- 
> > ----------------------------------------------------------------
> > Assefa Yewondwossen
> > Software Analyst
> >
> > Email: assefa at dmsolutions.ca
> > http://www.dmsolutions.ca/
> >
> > Phone: (613) 565-5056 (ext 14)
> > Fax:   (613) 565-0925
> > ----------------------------------------------------------------
> >
> >
> >
> >
> > _______________________________________________
> > Mapserver-users mailing list
> > Mapserver-users at lists.gis.umn.edu
> > http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> >
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>

------=_NextPart_000_023B_01C38D8F.BB3EF150
Content-Type: text/plain;
	name="compile-errors.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="compile-errors.txt"

	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapbits.c =
/Fomapbits.obj
mapbits.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c maphash.c =
/Fomaphash.obj
maphash.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapshape.c =
/Fomapshape.obj
mapshape.c
mapshape.c(512) : warning C4244: '=3D' : conversion from 'double ' to =
'int ', possible loss of data
mapshape.c(600) : warning C4244: '=3D' : conversion from 'double ' to =
'int ', possible loss of data
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapxbase.c =
/Fomapxbase.obj
mapxbase.c
mapxbase.c(496) : warning C4018: '<' : signed/unsigned mismatch
mapxbase.c(662) : warning C4018: '>' : signed/unsigned mismatch
mapxbase.c(668) : warning C4018: '>' : signed/unsigned mismatch
mapxbase.c(675) : warning C4018: '>' : signed/unsigned mismatch
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapparser.c =
/Fomapparser.obj
mapparser.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c maplexer.c =
/Fomaplexer.obj
maplexer.c
mapfile.h(185) : warning C4005: 'DEBUG' : macro redefinition
        unknown(0) : see previous definition of 'DEBUG'
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapindex.c =
/Fomapindex.obj
mapindex.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c maptree.c =
/Fomaptree.obj
maptree.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapsearch.c =
/Fomapsearch.obj
mapsearch.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapstring.c =
/Fomapstring.obj
mapstring.c
mapstring.c(130) : warning C4018: '<' : signed/unsigned mismatch
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapsymbol.c =
/Fomapsymbol.obj
mapsymbol.c
mapfile.h(185) : warning C4005: 'DEBUG' : macro redefinition
        unknown(0) : see previous definition of 'DEBUG'
mapsymbol.c(547) : warning C4244: '=3D' : conversion from 'double ' to =
'int ', possible loss of data
mapsymbol.c(548) : warning C4244: '=3D' : conversion from 'double ' to =
'int ', possible loss of data
mapsymbol.c(499) : warning C4101: 'rect' : unreferenced local variable
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapfile.c =
/Fomapfile.obj
mapfile.c
mapfile.h(185) : warning C4005: 'DEBUG' : macro redefinition
        unknown(0) : see previous definition of 'DEBUG'
mapfile.c(1050) : warning C4244: '=3D' : conversion from 'double ' to =
'int ', possible loss of data
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c maplegend.c =
/Fomaplegend.obj
maplegend.c
maplegend.c(287) : warning C4244: 'function' : conversion from 'double ' =
to 'int ', possible loss of data
maplegend.c(287) : warning C4761: integral size mismatch in argument; =
conversion supplied
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c maputil.c =
/Fomaputil.obj
maputil.c
maputil.c(981) : warning C4013: 'getpid' undefined; assuming extern =
returning int
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapscale.c =
/Fomapscale.obj
mapscale.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapquery.c =
/Fomapquery.obj
mapquery.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c maplabel.c =
/Fomaplabel.obj
maplabel.c
maplabel.c(281) : warning C4018: '>' : signed/unsigned mismatch
maplabel.c(233) : warning C4101: 'size' : unreferenced local variable
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c maperror.c =
/Fomaperror.obj
maperror.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapprimitive.c =
/Fomapprimitive.obj
mapprimitive.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapproject.c =
/Fomapproject.obj
mapproject.c
mapproject.c(429) : warning C4047: 'return' : 'const char *' differs in =
levels of indirection from 'int '
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapraster.c =
/Fomapraster.obj
mapraster.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c cgiutil.c =
/Focgiutil.obj
cgiutil.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapsde.c =
/Fomapsde.obj
mapsde.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapogr.cpp =
/Fomapogr.obj
mapogr.cpp
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c maptemplate.c =
/Fomaptemplate.obj
maptemplate.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mappostgis.c =
/Fomappostgis.obj
mappostgis.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c maplayer.c =
/Fomaplayer.obj
maplayer.c
maplayer.c(629) : warning C4101: 'i' : unreferenced local variable
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapresample.c =
/Fomapresample.obj
mapresample.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapwms.c =
/Fomapwms.obj
mapwms.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapwmslayer.c =
/Fomapwmslayer.obj
mapwmslayer.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapgml.c =
/Fomapgml.obj
mapgml.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c maporaclespatial.c =
/Fomaporaclespatial.obj
maporaclespatial.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapprojhack.c =
/Fomapprojhack.obj
mapprojhack.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapdraw.c =
/Fomapdraw.obj
mapdraw.c
mapdraw.c(1055) : warning C4700: local variable 'length' used without =
having been initialized
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapgd.c =
/Fomapgd.obj
mapgd.c
mapgd.c(388) : warning C4244: '=3D' : conversion from 'double ' to 'int =
', possible loss of data
mapgd.c(389) : warning C4244: '=3D' : conversion from 'double ' to 'int =
', possible loss of data
mapgd.c(395) : warning C4244: '=3D' : conversion from 'double ' to 'int =
', possible loss of data
mapgd.c(396) : warning C4244: '=3D' : conversion from 'double ' to 'int =
', possible loss of data
mapgd.c(409) : warning C4305: 'initializing' : truncation from 'const =
double ' to 'float '
mapgd.c(417) : warning C4244: '=3D' : conversion from 'double ' to 'int =
', possible loss of data
mapgd.c(418) : warning C4244: '=3D' : conversion from 'double ' to 'int =
', possible loss of data
mapgd.c(429) : warning C4244: '=3D' : conversion from 'float ' to 'int =
', possible loss of data
mapgd.c(430) : warning C4244: '=3D' : conversion from 'float ' to 'int =
', possible loss of data
mapgd.c(466) : warning C4244: 'function' : conversion from 'double ' to =
'int ', possible loss of data
mapgd.c(466) : warning C4244: 'function' : conversion from 'double ' to =
'int ', possible loss of data
mapgd.c(523) : warning C4244: '=3D' : conversion from 'double ' to 'int =
', possible loss of data
mapgd.c(535) : warning C4244: '=3D' : conversion from 'double ' to =
'float ', possible loss of data
mapgd.c(537) : warning C4244: '=3D' : conversion from 'double ' to 'int =
', possible loss of data
mapgd.c(538) : warning C4244: '=3D' : conversion from 'double ' to 'int =
', possible loss of data
mapgd.c(573) : warning C4244: '=3D' : conversion from 'double ' to 'int =
', possible loss of data
mapgd.c(575) : warning C4244: '=3D' : conversion from 'double ' to 'int =
', possible loss of data
mapgd.c(580) : warning C4244: '=3D' : conversion from 'double ' to 'int =
', possible loss of data
mapgd.c(611) : warning C4244: 'function' : conversion from 'double ' to =
'int ', possible loss of data
mapgd.c(611) : warning C4244: 'function' : conversion from 'double ' to =
'int ', possible loss of data
mapgd.c(611) : warning C4244: 'function' : conversion from 'double ' to =
'int ', possible loss of data
mapgd.c(686) : warning C4244: 'function' : conversion from 'double ' to =
'int ', possible loss of data
mapgd.c(697) : warning C4244: 'function' : conversion from 'double ' to =
'int ', possible loss of data
mapgd.c(717) : warning C4244: 'function' : conversion from 'double ' to =
'int ', possible loss of data
mapgd.c(727) : warning C4244: 'function' : conversion from 'double ' to =
'int ', possible loss of data
mapgd.c(811) : warning C4244: 'function' : conversion from 'double ' to =
'int ', possible loss of data
mapgd.c(849) : warning C4244: 'function' : conversion from 'double ' to =
'int ', possible loss of data
mapgd.c(877) : warning C4244: 'function' : conversion from 'double ' to =
'int ', possible loss of data
mapgd.c(925) : warning C4244: 'function' : conversion from 'double ' to =
'int ', possible loss of data
mapgd.c(782) : warning C4101: 'rect' : unreferenced local variable
mapgd.c(781) : warning C4101: 'bbox' : unreferenced local variable
mapgd.c(977) : warning C4244: 'function' : conversion from 'double ' to =
'int ', possible loss of data
mapgd.c(977) : warning C4244: 'function' : conversion from 'double ' to =
'int ', possible loss of data
mapgd.c(1021) : warning C4244: 'function' : conversion from 'double ' to =
'int ', possible loss of data
mapgd.c(1021) : warning C4244: 'function' : conversion from 'double ' to =
'int ', possible loss of data
mapgd.c(953) : warning C4101: 'rect' : unreferenced local variable
mapgd.c(952) : warning C4101: 'bbox' : unreferenced local variable
mapgd.c(1149) : warning C4244: '=3D' : conversion from 'double ' to 'int =
', possible loss of data
mapgd.c(1178) : warning C4244: 'function' : conversion from 'double ' to =
'int ', possible loss of data
mapgd.c(1189) : warning C4244: 'function' : conversion from 'double ' to =
'int ', possible loss of data
mapgd.c(1209) : warning C4244: 'function' : conversion from 'double ' to =
'int ', possible loss of data
mapgd.c(1219) : warning C4244: 'function' : conversion from 'double ' to =
'int ', possible loss of data
mapgd.c(1274) : warning C4101: 'rect' : unreferenced local variable
mapgd.c(1273) : warning C4101: 'bbox' : unreferenced local variable
mapgd.c(1550) : warning C4244: '=3D' : conversion from 'double ' to 'int =
', possible loss of data
mapgd.c(2078) : warning C4101: 'bbox' : unreferenced local variable
mapgd.c(2451) : warning C4090: 'function' : different 'const' qualifiers
mapgd.c(2451) : warning C4024: 'strcasecmp' : different types for formal =
and actual parameter 2
mapgd.c(2522) : warning C4098: 'msFixedImageCopy' : 'void' function =
returning a value
mapgd.c(2557) : warning C4098: 'msImageCopyMerge' : 'void' function =
returning a value
mapgd.c(686) : warning C4761: integral size mismatch in argument; =
conversion supplied
mapgd.c(697) : warning C4761: integral size mismatch in argument; =
conversion supplied
mapgd.c(717) : warning C4761: integral size mismatch in argument; =
conversion supplied
mapgd.c(727) : warning C4761: integral size mismatch in argument; =
conversion supplied
mapgd.c(811) : warning C4761: integral size mismatch in argument; =
conversion supplied
mapgd.c(849) : warning C4761: integral size mismatch in argument; =
conversion supplied
mapgd.c(877) : warning C4761: integral size mismatch in argument; =
conversion supplied
mapgd.c(925) : warning C4761: integral size mismatch in argument; =
conversion supplied
mapgd.c(977) : warning C4761: integral size mismatch in argument; =
conversion supplied
mapgd.c(977) : warning C4761: integral size mismatch in argument; =
conversion supplied
mapgd.c(1021) : warning C4761: integral size mismatch in argument; =
conversion supplied
mapgd.c(1021) : warning C4761: integral size mismatch in argument; =
conversion supplied
mapgd.c(1178) : warning C4761: integral size mismatch in argument; =
conversion supplied
mapgd.c(1189) : warning C4761: integral size mismatch in argument; =
conversion supplied
mapgd.c(1209) : warning C4761: integral size mismatch in argument; =
conversion supplied
mapgd.c(1219) : warning C4761: integral size mismatch in argument; =
conversion supplied
mapgd.c(466) : warning C4761: integral size mismatch in argument; =
conversion supplied
mapgd.c(466) : warning C4761: integral size mismatch in argument; =
conversion supplied
mapgd.c(611) : warning C4761: integral size mismatch in argument; =
conversion supplied
mapgd.c(611) : warning C4761: integral size mismatch in argument; =
conversion supplied
mapgd.c(611) : warning C4761: integral size mismatch in argument; =
conversion supplied
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapoutput.c =
/Fomapoutput.obj
mapoutput.c
mapoutput.c(197) : warning C4090: 'function' : different 'const' =
qualifiers
mapoutput.c(197) : warning C4024: 'strcasecmp' : different types for =
formal and actual parameter 1
mapoutput.c(220) : warning C4090: 'function' : different 'const' =
qualifiers
mapoutput.c(220) : warning C4024: 'strcasecmp' : different types for =
formal and actual parameter 1
mapoutput.c(232) : warning C4090: 'function' : different 'const' =
qualifiers
mapoutput.c(232) : warning C4024: 'strcasecmp' : different types for =
formal and actual parameter 1
mapoutput.c(303) : warning C4090: 'function' : different 'const' =
qualifiers
mapoutput.c(303) : warning C4024: 'strcasecmp' : different types for =
formal and actual parameter 1
mapoutput.c(453) : warning C4090: 'function' : different 'const' =
qualifiers
mapoutput.c(453) : warning C4024: 'strcasecmp' : different types for =
formal and actual parameter 1
mapoutput.c(460) : warning C4090: 'function' : different 'const' =
qualifiers
mapoutput.c(460) : warning C4024: 'strcasecmp' : different types for =
formal and actual parameter 1
mapoutput.c(522) : warning C4090: 'function' : different 'const' =
qualifiers
mapoutput.c(522) : warning C4024: 'strcasecmp' : different types for =
formal and actual parameter 1
mapoutput.c(618) : warning C4090: 'function' : different 'const' =
qualifiers
mapoutput.c(618) : warning C4024: 'strncasecmp' : different types for =
formal and actual parameter 2
mapoutput.c(656) : warning C4090: 'function' : different 'const' =
qualifiers
mapoutput.c(656) : warning C4024: 'strncasecmp' : different types for =
formal and actual parameter 2
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapswf.c =
/Fomapswf.obj
mapswf.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapgdal.c =
/Fomapgdal.obj
mapgdal.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapwfs.c =
/Fomapwfs.obj
mapwfs.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapwfslayer.c =
/Fomapwfslayer.obj
mapwfslayer.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapows.c =
/Fomapows.obj
mapows.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c maphttp.c =
/Fomaphttp.obj
maphttp.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mappdf.c =
/Fomappdf.obj
mappdf.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapcontext.c =
/Fomapcontext.obj
mapcontext.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapdrawgdal.c =
/Fomapdrawgdal.obj
mapdrawgdal.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapjoin.c =
/Fomapjoin.obj
mapjoin.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapgraticule.c =
/Fomapgraticule.obj
mapgraticule.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapmygis.c =
/Fomapmygis.obj
mapmygis.c
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapimagemap.c =
/Fomapimagemap.obj
mapimagemap.c
mapimagemap.c(15) : warning C4005: 'DEBUG' : macro redefinition
        unknown(0) : see previous definition of 'DEBUG'
mapimagemap.c(159) : warning C4090: 'function' : different 'const' =
qualifiers
mapimagemap.c(159) : warning C4024: 'strcasecmp' : different types for =
formal and actual parameter 2
mapimagemap.c(1604) : warning C4244: '*=3D' : conversion from 'double ' =
to 'int ', possible loss of data
mapimagemap.c(1619) : warning C4244: '*=3D' : conversion from 'double ' =
to 'int ', possible loss of data
mapimagemap.c(1620) : warning C4244: '*=3D' : conversion from 'double ' =
to 'int ', possible loss of data
mapimagemap.c(1631) : warning C4244: '*=3D' : conversion from 'double ' =
to 'int ', possible loss of data
mapimagemap.c(1863) : warning C4090: 'function' : different 'const' =
qualifiers
mapimagemap.c(1863) : warning C4024: 'strcasecmp' : different types for =
formal and actual parameter 2
	cl /nologo /Zi /W3 /DDEBUG -DWIN32 -D_WIN32 -Ic:/projects/gd-2.0.15     =
-Ic:/projects/regex-0.12           -DHAVE_STRING_H -DREGEX_MALLOC =
-DNEED_STRCASECMP -DNEED_STRNCASECMP       -DUSE_GD_PNG          =
-DIGNORE_MISSING_DATA   -DFEATURE_INFO_HTML       /c mapcopy.c =
/Fomapcopy.obj
mapcopy.c
mapcopy.c(1036) : warning C4034: sizeof returns 0
mapcopy.c(1038) : warning C4034: sizeof returns 0
mapcopy.c(1040) : warning C4034: sizeof returns 0
mapcopy.c(1048) : warning C4034: sizeof returns 0
	copy \gdal.pdb .
The system cannot find the file specified.

------=_NextPart_000_023B_01C38D8F.BB3EF150
Content-Type: application/octet-stream;
	name="nmake.opt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="nmake.opt"

#
# nmake.opt - MapServer 4.x configuration for MSVC++
#
# This VC++ configuration is used in building MAPSERVER.LIB, =
MAPSERV.EXE,
# and the other MapServer command-line programs.
#
# To use the makefile:
#  - Open a DOS prompt window
#  - Run the VCVARS32.BAT script to initialize the VC++ environment =
variables
#  - Start the build with:  nmake /f makefile.vc
#
# $Id: nmake.opt,v 1.2 2003/06/13 13:28:38 assefa Exp $
#
# Contents:
#   Section I:   Mapserver Options (you may want to edit)
#   Section II:  Support Libraries (you must edit)
#   Section III: Debug Flags (no need to edit)
#   Section IV:  Variable Setup (should not need to edit)
#   Section V:   UMN GIS System Setup (should not need to edit)
#   Section VI:  Collect compiler flags
#
########################################################################
# Section I: Mapserver Options
########################################################################

# Input raster format options:
#
# The lite version of mapserver 4.x supports only PNG and JPEG data for =
input.
#
# If you wish to support any of the following raster formats you will =
need
# the GDAL support library from http://www.remotesensing.org/gdal.
# Once you have the library, set the flag below to compile with GDAL and
# provide the full path to GDAL project directory
#
# Format Name
#   Arc/Info ASCII Grid AAIGrid
#   Arc/Info Binary Grid (.adf) AIG
#   Microsoft Windows Device Independent Bitmap (.bmp) BMP
#   BSB Nautical Chart Format (.kap) BSB
#   CEOS (Spot for instance) CEOS
#   First Generation USGS DOQ (.doq) DOQ1
#   New Labelled USGS DOQ (.doq) DOQ2
#   Military Elevation Data (.dt0, .dt1) DTED
#   ERMapper Compressed Wavelets (.ecw) ECW
#   ESRI .hdr Labelled EHdr
#   ENVI .hdr Labelled Raster ENVI
#   Envisat Image Product (.n1) Envisat
#   EOSAT FAST Format FAST
#   FITS (.fits) FITS
#   Graphics Interchange Format (.gif) GIF
#   Arc/Info Binary Grid (.adf) GIO
#   GRASS Rasters GRASS
#   TIFF / GeoTIFF (.tif) GTiff
#   Hierarchical Data Format Release 4 (HDF4) HDF4
#   Erdas Imagine (.img) HFA
#   Atlantis MFF2e HKV
#   Japanese DEM (.mem) JDEM
#   JPEG2000 (.jp2, .j2k) JPEG2000
#   JPEG2000 (.jp2, .j2k) JP2KAK
#   NOAA Polar Orbiter Level 1b Data Set (AVHRR) L1B
#   Atlantis MFF MFF
#   NITF NITF
#   OGDI Bridge OGDI
#   PCI .aux Labelled PAux Yes
#   Netpbm (.ppm,.pgm) PNM Yes
#   USGS SDTS DEM (*CATD.DDF) SDTS
#   SAR CEOS SAR_CEOS
#   USGS ASCII DEM (.dem) USGSDEM
#   X11 Pixmap (.xpm) XPM
#GDAL=3D-DUSE_GDAL
#GDAL_DIR=3Dc:\projects\gdal-1.1.9

#
# Input vector format options
#
# The lite version of Mapserver 4.x only suports ESRI shapefiles for =
input.
#
# If you wish to support any of the following vector formats you will =
need
# the GDAL support library with OGR from =
http://www.remotesensing.org/gdal.
# Once you have the library, set the flag below to compile with OGR and
# provide the full path to GDAL project directory
#
# Format Name
#   Arc/Info Binary Coverage
#   FMEObjects Gateway
#   IHO S-57 (ENC)
#   Mapinfo File
#   Microstation DGN
#   OGDI Vectors
#   Oracle Spatial
#   PostgreSQL
#   SDTS
#   UK .NTF
#   U.S. Census TIGER/Line
#
#OGR=3D-DUSE_OGR
#GDAL_DIR=3Dc:\projects\gdal-1.1.9

#ECW support
#
#ECW is one of the formats supported through GDAL. If you have built
#gdal with ECW support, you need to link it with the ECW librarires.
#uncommnet the following lines to have the ECW support.
#ECW_DIR=3D C:\projects\ECW_SDK

#Xerces support
#
#If GDAL was compoiled with the Xerces support, you need to use the=20
#xerces library. #uncommnet the following line to have the Xerces =
support
#XERCES_DIR =3D c:\projects\xerces-c1_6_0-win32

# Tiff Input
#=20
# Tiff input is also available through GDAL. If you wish to build to =
support
# TIFF input without GDAL you will need to unccomment the following flag =

# and set the full path to the project directory containing libtiff.
# See http://www.libtiff.org/ for support library
#TIFF=3D-DUSE_TIFF
#TIFFDIR=3Dc:/my_path_to/tiff-v3.5.4

# JPEG Input:
# JPEG input for raster layers is also available through GDAL, If you =
wish=20
# to build support for JPEG without GDAL, uncomment the following flag
# and provide the full path to the jpeg support library project =
directory.
# See http://www.ijg.org/ for support library.
#JPEG=3D-DUSE_JPEG
#JPEG_DIR=3Dc:/projects/gdal/frmts/jpeg/libjpeg

# Output format options:
# If you wish to allow JPEG output maps, uncomment the following flag
# and provide the full path to the jpeg support library project =
directory.
# See http://www.ijg.org/ for support library.
#OUTPUT_JPEG=3D-DUSE_GD_JPEG
#JPEG_DIR=3Dc:/projects/gdal-1.1.9/frmts/jpeg/libjpeg

# If you wish to allow PNG output maps, uncomment the following flag
# and provide the full path to the png and zlib support library project
# directories.
# See http://www.libpng.org/pub/png/libpng.html for support library.
# See http://www.gzip.org/zlib/ for support library.
OUTPUT_PNG=3D-DUSE_GD_PNG
PNG_DIR=3Dc:/projects/libpng-1.2.5

ZLIB_DIR=3Dc:/projects/zlib-1.1.4

# If you wish to allow Windows BMP output maps, uncomment the following =
flag.
#OUTPUT_WBMP=3D-DUSE_GD_WBMP

# If you wish to have FLASH output, uncomment the following flag and =
provide
# the full path to the MING support library project directory.
# See http://ming.sourceforge.net/ for support library.
#MING=3D-DUSE_MING_FLASH
#MING_DIR=3Dc:/projects/ming-0.2a

# If you wish to have PDF output, uncomment the following flag and =
provide the
# full path to the PDF support library project directory.
# See http://www.pdflib.com/ for support library.
#PDF=3D-DUSE_PDF
#PDF_DIR=3Dc:/projects/pdflib-5.0.2


# Annotation fonts.
#
# If you wish to annotate your maps with true type fonts unccomment the
# following flag. Provide the full path to the FreeType 2.x external
# supprt library.  See http://www.freetype.org for support library.
#ANNOTATION_FT=3D-DUSE_GD_FT
#FT_DIR=3Dc:/projects/freetype-2.1.3


# Direct connectivity to Postgresql PostGIS.
#=20
# To turn on direct connectivity to Postgresql PostGIS uncomment the =
following
# flag and set the full path name to the project directory for the=20
# Postgresql native Win32 client library.
# See http://www.postgresql.org for support library.
#POSTGIS =3D-DUSE_POSTGIS
#POSTGIS_DIR =3Dc:/projects/libpqxx-1.5.1

# Direct connectivity to ArcSDE.
#=20
# To turn on direct connectivity to ArcSDE uncomment the following
# flag and set the full path name to the project directory for ArcSDE.
# Since ESRI includes the version number in the name of their libraries
# you may need to change that number in Section III of this =
configuration
# file.
# See http://www.esri.com/software/arcgis/arcinfo/arcsde/index.html for
# support library
#SDE_OPT=3D-DUSE_SDE -DWIN32
#SDE_DIR=3Dc:/my_path_to/arcsde

# EPPL7 Support
#
# This activates ERDAS as well. It is included in the distribution.=20
# Probably the best raster alternative if
# you've got EPPL7 laying around. See http://www.lmic.state.mn.us/ for=20
# more information.
# Uncomment out the following flag and set the full path name to the
# epplib.obj file.
#EPPL=3D-DUSE_EPPL
#EPPL_OBJ=3Dc:/my_path/epplib.obj

# If you want to ignore missing datafile errors uncomment the following
# line. This is especially useful with large tiled datasets that may not
# have complete data for each tile.
IGNORE_MISSING_DATA=3D-DIGNORE_MISSING_DATA

# If you want antialiasing (note that It requires gd2)
#USE_GD_ANTIALIAS=3D-DUSE_GD_ANTIALIAS

# Use this flag to compile with WMS Server support.
# To find out more about the OpenGIS Web Map Server Specification go to
# http://www.opengis.org/
#WMS=3D-DUSE_WMS_SVR

# Use this flag to compile with WMS Client support. WMS Client support
# allows you to pull layers from other OGIS WMS servers on the interent =
and
# incorporate them into your map.
# To find out more about the OpenGIS Web Map Server Specification go to
# http://www.opengis.org/
# you need the libcurl library from http://curl.haxx.se/library/c/
# Set the full path to the curl project directory.
# You will also need to set the full path to the Microsoft Visual C++ =
windows
# socket library.
#WMSCLIENT=3D -DUSE_WMS_LYR
#CURL_DIR=3Dc:/projects/curl-7.10.7
#WINSOCK_LIB =3D "C:\Program Files\Microsoft Visual =
Studio\VC98\Lib\WSOCK32.LIB"

# Use -DUSE_WFS_SVR to compile with WFS server support, requires OGR and =
PROJ4
# Use -DUSE_WFS_LYR to compile with WFS client support, requires libcurl
#WFS=3D-DUSE_WFS_SVR
#WFSCLIENT=3D -DUSE_WFS_LYR


# Reprojecting.
# If you would like mapserver to be able to reproject data from one
# geographic projection to another, uncomment the following flag
# Proj.4 distribution (cartographic projection routines).=20
# Not required for normal use. (EXPERIMENTAL)
# For PROJ_DIR use full path to Proj.4 distribution
#PROJ=3D-DUSE_PROJ -DUSE_PROJ_API_H
#PROJ_DIR=3Dc:\projects\proj-4.4.7

# PHP Mapscript.
# If you plan to build PHP mapscript uncomment the following flag and
# set the full path to the PHP project directory
#PHP=3D1
#PHP_DIR=3Dc:\projects\php-4.3.2

# Apparently these aren't as commonplace. Edit the
# following line to reflect the missing functions on your platform.
#
#STRINGS=3D-DNEED_STRCASECMP -DNEED_STRNCASECMP -DNEED_STRDUP
STRINGS=3D-DNEED_STRCASECMP -DNEED_STRNCASECMP


########################################################################
# Section II: External Support Libraries
########################################################################
# You will need to set the paths to various support library projects
# that you have compiled.
########################################################################

# GD Library. =20
#
# Mapserver 4.x only supports GD 2.x and greater.
# Sorry no more GIF support.  If you need GIF support you will
# need to run Mapserver 3.6.x with GD 1.2.
# GD is a required support library for MapServer 4.x.
# Enter the full path to your GD 2.x project directory

# Note : A patched version of GD that supports GIF, JPEG, PNG and WBMP =
can be=20
# downloaded from http://www.rime.com.au/gd/. If you are using this =
library,
#you should uncomment the following line
#OUTPUT_GIF=3D-DUSE_GD_GIF -DGD_HAS_GDIMAGEGIFPTR

GD_DIR=3Dc:/projects/gd-2.0.15

# REGEX Libary
#=20
# VC++ does not include the REGEX library... so we must provide our one.
# The following definitions will try to build GNU regex-0.12 located in =
the
# regex-0.12 sub-directory.
# If it was not included in the source distribution, then you can get it =
from:
#    ftp://ftp.gnu.org/pub/gnu/regex/regex-0.12.tar.gz
# Provide the full path to the REGEX project directory
# You do not need this library if you are compiling for PHP mapscript.
# In that case the PHP regex library will be used instead
!IFNDEF PHP
REGEX_DIR=3Dc:/projects/regex-0.12
!ENDIF


########################################################################
# Section III: Debug flags
########################################################################
# Should not need to be updated.
########################################################################
# DEBUG Build flags
# Set the DEBUG flag if you wish to make a debug build
DEBUG=3D/DDEBUG
# Set the Warning level for the compiler (defaults to W1)
WARNING_LEVEL=3D/W3
# Set the linker debug option
LDEBUG=3D/debug


########################################################################
# Section IV: Variable Setup
########################################################################
# Should not need to be updated.
########################################################################

# Proj.4 include and library
!IFDEF PROJ_DIR
PROJ_INC=3D-I$(PROJ_DIR)/src
PROJ_LIB=3D$(PROJ_DIR)/src/proj.lib
!ENDIF

# CURL include and library
!IFDEF WMSCLIENT
CURL_INC =3D -I$(CURL_DIR)/include
CURL_LIB =3D $(CURL_DIR)/lib/libcurl.lib
!ENDIF

# Set the jpeg library
!IFDEF OUTPUT_JPEG
JPEG_LIB=3D$(JPEG_DIR)/libjpeg.lib
!ENDIF

# Set the png support libaries
!IFDEF OUTPUT_PNG
PNG_LIB=3D$(PNG_DIR)/libpng.lib $(ZLIB_DIR)/zlib.lib
!ENDIF

# Set the FreeType library
!IFDEF ANNOTATION_FT
#FT_LIB=3D$(FT_DIR)/objs/freetype211.lib
FT_LIB=3D$(FT_DIR)/objs/freetype211ST_D.lib
!ENDIF

# GD include and library
GD_INC=3D	-I$(GD_DIR)
GD_LIB=3D	$(GD_DIR)/gd.lib  \
	$(JPEG_LIB) $(PNG_LIB) $(FT_LIB)
GD=3D $(OUTPUT_PNG) $(OUTPUT_JPEG) $(OUTPUT_WBMP) $(OUTPUT_GIF) =
$(ANNOTATION_FT)

# Tiff library on input
!IFDEF TIFF
TIFF_INC=3D-I$(TIFF_DIR)/tiff-v3.5.4/libtiff
TIFF_LIB=3D$(TIFF_DIR)/tiff-v3.5.4/libtiff/libtiff.lib
!ENDIF

# JPEG library on input
!IFDEF JPEG
JPEG_LIB=3D$(JPEG_DIR)/libjpeg.lib
!ENDIF

# Setup GDAL includes and libraries
!IFDEF GDAL
GDAL_INC =3D -I$(GDAL_DIR)/core -I$(GDAL_DIR)/alg
GDAL_LIB =3D $(GDAL_DIR)/gdal_i.lib
!ENDIF

# Setup OGR includes and libraries
!IFDEF OGR
OGR_INC =3D -I$(GDAL_DIR)/ogr/ogrsf_frmts -I$(GDAL_DIR)/ogr =
-I$(GDAL_DIR)/ogr/../port
OGR_LIB =3D $(GDAL_DIR)/ogr/ogrsf_frmts/ogrsf_frmts.lib =
$(GDAL_DIR)/ogr/ogrsf_frmts/ogrsf_frmts_sup.lib $(GDAL_DIR)/ogr/ogr.lib =
$(GDAL_DIR)/ogr/../port/cpl.lib
!ENDIF

# Setup ESRI SDE support.
!IFDEF SDE_OPT
SDE_INC=3D-I$(SDE_DIR)/include
SDE_LIB=3D$(SDE_DIR)/lib/sde80.lib $(SDE_DIR)/lib/sg80.lib =
$(SDE_DIR)/lib/pe80.lib
!ENDIF

#ECW support
!IFDEF ECW_DIR
ECW_LIB=3D$(ECW_DIR)\lib\NCSEcw.lib $(ECW_DIR)\lib\NCSEcwC.lib \
        $(ECW_DIR)\lib\NCSUtil.lib
!ENDIF

#Xerces support
!IFDEF XERCES_DIR
XERCES_LIB=3D$(XERCES_DIR)/lib/xerces-c_1.lib
!ENDIF

# Setup REGEX object and includes
!IFNDEF PHP
REGEX_OBJ=3D$(REGEX_DIR)\regex.obj
REGEX_INC=3D-I$(REGEX_DIR)
!ELSE
REGEX_OBJ=3D$(PHP_DIR)\regex\regcomp.obj $(PHP_DIR)\regex\regerror.obj \
          $(PHP_DIR)\regex\regexec.obj $(PHP_DIR)\regex\regfree.obj
REGEX_INC=3D-I$(PHP_DIR)/regex -DPHP_NO_ALIASES
!ENDIF
#
# REGEX needs some special flags... here they are for VC++ 6.0
#
REGEX_OPT=3D-DHAVE_STRING_H -DREGEX_MALLOC

# Setup Postgesql PostGIS includes and libs
# Note that the Postgresql includes are not used in the compilation of=20
# PHP/MapScript.  The reason is that there is a name conflict between =
the=20
# regex/regex.h files used in PHP and Postgresql.  This is not a real =
issue
# since they are two completely different interfaces.  The issue arrises =
when
# the php_regex.h trys to include regex/regex.h and gets the wrong one =
from
# postgresql.  Therefore we do not give it that opertunity by not =
providing the
# include path.
!IFDEF POSTGIS
!IFNDEF PHP_BUILD_CALL
#POSTGIS_INC=3D-I$(POSTGIS_DIR)/src/interfaces/libpq =
-I$(POSTGIS_DIR)/src/include
POSTGIS_INC=3D-I$(POSTGIS_DIR)/interfaces/libpq -I$(POSTGIS_DIR)/include
!ENDIF
#POSTGIS_LIB=3D$(POSTGIS_DIR)/src/interfaces/libpq/release/libpqdll.lib
POSTGIS_LIB=3D$(POSTGIS_DIR)/interfaces/libpq/libpqdll.lib
POSTGIS_OBJ=3Dmappostgis.obj
!ENDIF

# Setup FLASH includes and libs
!IFDEF MING
MING_INC=3D-I$(MING_DIR)/src -I$(MING_DIR)
MING_LIB=3D $(MING_DIR)/src/libming.lib
!ENDIF

# Setup PDF includes and libs
!IFDEF PDF
PDF_LIB=3D$(PDF_DIR)/pdflib/pdflib.lib
PDF_INC=3D-I$(PDF_DIR)/pdflib
!ENDIF

########################################################################
# Section V: UMN GIS System Support
########################################################################
# Should not need to be updated.
########################################################################
#
# UofMN GIS/Image Processing Extension (very experimental)
#
#EGIS=3D-DUSE_EGIS

!IFDEF EGIS
ERR_DIR=3Dc:/my_path_to/errLog
ERR_OBJ=3D$(ERR_DIR)/errLog.o
ERR_INC=3D-I$(ERR_DIR)
ERR_LIB=3D-L$(ERR_DIR) -lerrLog

IMGGEN_DIR=3Dc:/my_path_to/imgSrc
IMGGEN_OBJ=3D$(IMGGEN_DIR)/imgLib.o
IMGGEN_INC=3D-I$(IMGGEN_DIR)
IMGGEN_LIB=3D-L$(IMGGEN_DIR) -limgGEN
!ENDIF

########################################################################
# Section VI: Collect compiler flags
########################################################################
# Should not need to be updated.
########################################################################
LIBS=3D$(MS_LIB) $(GD_LIB) $(TIFF_LIB) $(JPEG_LIB) \
     $(PROJ_LIB) $(OGR_LIB) $(GDAL_LIB)\
     $(CURL_LIB)  $(MING_LIB) $(PDF_LIB) \
     $(WINSOCK_LIB) $(POSTGIS_LIB) $(IMGGEN_LIB) $(ERR_LIB) \
     $(XERCES_LIB) $(ECW_LIB)

INCLUDES=3D$(GD_INC) $(TIFF_INC) $(JPEG_INC) \
         $(PROJ_INC) $(REGEX_INC) $(GDAL_INC) $(OGR_INC) \
         $(CURL_INC) $(MING_INC) $(PDF_INC) $(POSTGIS_INC) \
		 $(IMGGEN_INC) $(ERR_INC)

MS_CFLAGS=3D$(INCLUDES) $(REGEX_OPT) $(STRINGS) $(POSTGIS) \
          $(EPPL) $(PROJ) $(TIFF) $(JPEG) $(GD) $(OGR) $(WMS) \
          $(WMSCLIENT) $(MING) $(IGNORE_MISSING_DATA) $(GDAL) \
          -DFEATURE_INFO_HTML $(WFS) $(WFSCLIENT) $(PDF) $(EGIS) \
        $(USE_GD_ANTIALIAS)



------=_NextPart_000_023B_01C38D8F.BB3EF150
Content-Type: application/octet-stream;
	name="Makefile.vc"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="Makefile.vc"

#
# makefile.vc - Main MapServer makefile for MSVC++
#
# This VC++ makefile will build MAPSERVER.LIB, MAPSERV.EXE, and the =
other
# MapServer command-line programs.
#
# To use the makefile:
#  - Open a DOS prompt window
#  - Run the VCVARS32.BAT script to initialize the VC++ environment =
variables
#  - Start the build with:  nmake /f makefile.vc
#
# $Id: Makefile.vc,v 1.38 2003/06/05 13:53:04 assefa Exp $
#
MAPSERVER_ROOT =3D .

!INCLUDE nmake.opt

OPTFLAGS =3D	/nologo /Zi $(WARNING_LEVEL) $(DEBUG)
BASE_CFLAGS =3D 	$(OPTFLAGS) -DWIN32 -D_WIN32
LDFLAGS =3D	/NODEFAULTLIB:msvcrt /NODEFAULTLIB:libcd
#LDFLAGS =3D	/NODEFAULTLIB:libcd /DEBUG

CFLAGS=3D$(BASE_CFLAGS) $(MS_CFLAGS)
CC=3D     cl
LINK=3D   link

#
# Main MapServer library.
#
MS_LIB  =3D	mapserver.lib
MS_OBJS =3D 	mapbits.obj maphash.obj mapshape.obj mapxbase.obj \
		mapparser.obj maplexer.obj mapindex.obj maptree.obj \
		mapsearch.obj mapstring.obj mapsymbol.obj mapfile.obj \
		maplegend.obj maputil.obj mapscale.obj mapquery.obj \
		maplabel.obj maperror.obj mapprimitive.obj mapproject.obj\
		mapraster.obj cgiutil.obj mapsde.obj mapogr.obj \
		maptemplate.obj mappostgis.obj maplayer.obj mapresample.obj \
		mapwms.obj mapwmslayer.obj mapgml.obj maporaclespatial.obj \
		mapprojhack.obj mapdraw.obj mapgd.obj mapoutput.obj mapswf.obj \
		mapgdal.obj mapwfs.obj mapwfslayer.obj mapows.obj maphttp.obj \
		mappdf.obj mapcontext.obj mapdrawgdal.obj mapjoin.obj mapgraticule.obj =
\
		mapmygis.obj mapimagemap.obj mapcopy.obj $(EPPL_OBJ) $(REGEX_OBJ)

MS_HDRS =3D 	map.h mapfile.h

MS_EXE =3D 	mapserv.exe shp2img.exe legend.exe  \
		shptree.exe scalebar.exe sortshp.exe tile4ms.exe

#
#
#
default: 	all

all:		$(MS_LIB) $(MS_EXE)

$(MS_OBJS):	$(MS_HDRS)

$(MS_LIB):	$(MS_OBJS)
	copy $(GDAL_DIR)\gdal.pdb .
	lib /out:$(MS_LIB) $(MS_OBJS)

$(MS_EXE):	$(LIBS)

gd::
	cd gd-1.2
	nmake /f makefile.nt OPTFLAGS=3D"$(OPTFLAGS)"
	cd ..

.c.obj:=09
	$(CC) $(CFLAGS) /c $*.c /Fo$*.obj

.cpp.obj:=09
	$(CC) $(CFLAGS) /c $*.cpp /Fo$*.obj

.c.exe:
	$(CC) $(CFLAGS) /c $*.c /Fo$*.obj
	$(LINK) $(LDFLAGS) $*.obj $(LIBS)

.cpp.exe:
	$(CC) $(CFLAGS) /c $*.cpp /Fo$*.obj
	$(LINK) $(LDFLAGS) $*.obj $(LIBS)


clean:
	del *.obj
	del $(REGEX_OBJ)
	del $(MS_LIB)
	del $(MS_EXE)
	del *.pdb
	del *.exp
	del *.ilk
#	cd gd-1.2
#	nmake -f makefile.nt clean
#	cd ..


------=_NextPart_000_023B_01C38D8F.BB3EF150--




More information about the mapserver-users mailing list