Win32 Compilation and Installation
Tamas Szekeres
szekerest at GMAIL.COM
Thu Sep 13 02:10:36 PDT 2007
You can do the complilation using the buildkit and VS 2005 as well.
We've set up a buildbot configuration for doing regular builds using
various platforms and compilers and target architectures. You can
inspect the desired output of the various build steps here
http://buildbot.osgeo.org:8504/
You might have to manually edit mapserver/nmake.opt for adding the
various dependencies according to your needs.
For example the VS2005 Win32 build uses the following additions:
MS_BASE = E:\buildbot\osgeo\slaves\szekerest-msvc80-mapserver\buildkit\mapserver
SWIG = E:\buildbot\SWIG-1.3.31\swig.exe
MSVC_VER = 1400
PROJ=-DUSE_PROJ -DUSE_PROJ_API_H
PROJ_DIR=$(MS_BASE)\..\proj-4.4.9
GDAL=-DUSE_GDAL
GDAL_DIR=$(MS_BASE)\..\gdal
OGR=-DUSE_OGR
GEOS=-DUSE_GEOS
GEOS_DIR=$(MS_BASE)\..\geos-2.2.3
ICONV=-DUSE_ICONV
ICONV_DIR=$(MS_BASE)\..\libiconv-1.9.1
WMS=-DUSE_WMS_SVR
WMSCLIENT= -DUSE_WMS_LYR
CURL_DIR=$(MS_BASE)\..\curl-7.15.1
WINSOCK_LIB ="C:\Program Files (x86)\Microsoft Visual Studio .NET
2003\Vc7\PlatformSDK\Lib\WS2_32.Lib"
WFSCLIENT= -DUSE_WFS_LYR
WFS=-DUSE_WFS_SVR
WCS=-DUSE_WCS_SVR
PYTHON_HOME = "$(MS_BASE)\..\Python-2.4.4"
DOT_NET = YES
AGG=-DUSE_AGG
AGG_DIR=$(MS_BASE)\..\agg-2.4
POSTGIS =-DUSE_POSTGIS
POSTGIS_DIR =$(MS_BASE)\..\postgresql-8.2.3
Best regards,
Tamas
2007/9/13, Hayden Fisher <support at bizeasset.com.au>:
> Hi Howard,
>
> I'm using MS Visual Studio .Net 2003 that should do the trick, yes? And
> will be .Net 1.1 compatible?
>
> And what if I eventually want to go to .Net 2.0? I'd need Visual Studio
> 2005 with what buildkit?
>
> Regards,
> Hayden Fisher
> Development and Support
> BizeAsset Pty Ltd
> support at bizeasset.com.au
> Mob: (04) 3838 4747
> Ph: (07) 3369 2222
> Fax: (07) 3369 8883
> Toll Free: 1800 836 850
>
> -----Original Message-----
> From: Howard Butler [mailto:hobu.inc at gmail.com]
> Sent: Thursday, 13 September 2007 12:44 PM
> To: Hayden Fisher
> Cc: MAPSERVER-USERS at LISTS.UMN.EDU
> Subject: Re: Win32 Compilation and Installation
>
> MS4W provides C# bindings for MapServer, and unless you are looking
> for something very specific, it is likely to cover most/all of your
> needs.
>
> Alternatively, I would suggest getting a copy of the latest MapServer
> buildkit <http://download.osgeo.org/buildkit/>. Note that this is
> only compatible with MSVC 2003, not 2005. It has everything pre-
> configured/setup if you can use 2003.
>
> I admit the Win32 Compilation doc has been neglected some since most
> of us started just using the buildkit as our base. If you must still
> soldier on, please add comments to the bottom of the doc with updates
> that need to be made and we will try to incorporate them in the next
> iteration of the doc (don't know when that would be).
>
> Howard
>
> On Sep 12, 2007, at 9:27 PM, Hayden Fisher wrote:
>
> > Hi All,
> >
> >
> >
> > Attempting to compile MapServer and then MapScript for C#. And have
> > been trying to follow the 'Win32 Compilation and Installation'
> > tutorial.
> >
> >
> >
> > The link to regex is not current, does anyone know if this is still
> > necessary? Or have a more up to date instruction manual for
> > building MapServer?
> >
> >
> >
> > The version I'm trying to compile is 4.10.2
> >
> >
> >
> > Regards,
> >
> > Hayden Fisher
> >
> > Development and Support
> >
> > BizeAsset Pty Ltd
> >
> > support at bizeasset.com.au
> >
> > Mob: (04) 3838 4747
> >
> > Ph: (07) 3369 2222
> >
> > Fax: (07) 3369 8883
> >
> > Toll Free: 1800 836 850
> >
> >
> >
> >
>
More information about the MapServer-users
mailing list