Building Metlibs and Diana on Windows

This set of pages describe how to compile metlibs and Diana on Windows using MinGW and MSYS.

2010-04-07 download a snapshot. The zip file includes the diana and bdiana binaries, the Qt libraries, a working setup file and all the required icons etc., but no maps or data.

Read this first

Understanding MinGW / MSYS

Known issues and how to work around them OUT OF DATE (most issues have been resolved or worked around)

Please report any issues to dag-erling.smorgrav@systek.no

The entire process, in sequence:

The basics:

Setting up the build environment

Installing autotools and pkg-config

Preparing for metlibs:

Building the zlib and bzip2 libraries

Building the tiff, jpeg and png libraries

Building the Boost libraries

Building the UDUNITS 1 library

Building the NetCDF and HDF5 libraries

Building the Grib API

Building the PROJ library

Building the PostgreSQL libraries

Building the FreeType 2 library

Installing Qt

Building metlibs

Preparing for Diana:

Building the Shapefile library

Building FFmpeg

Building Diana

See also running.

Other useful resources:

The libtool manual

The autoconf manual

The automake manual