Windows build kit for MSVC 7.1
Howard Butler
hobu at IASTATE.EDU
Fri Feb 17 15:51:57 EST 2006
All,
I would like to announce the completion of the development of the
Windows Build Kit for MSVC 7.1. The build kit is located at:
<http://hobu.stat.iastate.edu/mapserver/build_output/mapserver-4.8-msvc71-build-kit.zip>
Assefa and I have brought everything forward to current
releases. MapServer is the 4.8 branch (it is a cvs directory, so you
could do a cvs update if you needed to) and GDAL is also current cvs.
Here's what's inside: curl-7.15.0 fcgi-2.4.0 freetype-2.1.10
gd-2.0.33 (with Steve's patch) geos-2.2.1 gettext-0.13 jpeg-6b
libecwj2-3.3 libgeotiff-1.2.2 libiconv-1.9.1 libintl-0.11.5
libpng-1.2.8 ming-0.2a mrsid-5.0.6.955 mysql-5.0.18-win32
PDFlib-Lite-6.0.2 php-4.4.2 postgresql-8.1.2 proj-4.4.9 Python-2.4.2
regex-0.12 SWIG-1.3.27 tiff-3.8.0 xerces-c-2.7.0 zlib-1.2.3
To use the build kit, all you should have to do is edit the MS_BASE
directive in the nmake.opt file of the mapserver_4_8 directory. To
rebuild GDAL, you would also need to edit the GDAL_HOME directive of
that nmake.opt as well.
Quickstart guide:
1. run vcvars32.bat
2. cd into gdal, edit nmake.opt to point to the directory where your
tree is located and run nmake /f makefile.vc clean
3. run nmake /f makefile.vc in the gdal directory to rebuild gdal
4. run nmake /f makefile.vc install to install the gdal binaries into ..\bin
5. cd into mapserver_4_8, edit nmake.opt to point to the directory
where your tree is located, and run nmake /f makefile.vc clean
6. run nmake /f makefile.vc in the mapserver_4_8 directory to
rebuild mapserver
7. run nmake /f makefile.vc install to build all of the MapScripts
defined in nmake.opt and copy all of the binaries to ..\bin
8. Copy the bin directory wherever you need a MapServer install :)
I will be updating the "Building on Win32" howto to reflect the usage
of the Build Kit, as I think this should be the preferred way to
quickly get something going that works. Please let me know if you
have any objections....
Thanks to Assefa, and hopefully this leads to easier windows
builds. As always, I'm on IRC if you have issues.
Howard
More information about the mapserver-dev
mailing list