====== Building Metlibs and Diana on Windows ====== This set of pages describe how to compile metlibs and Diana on Windows using MinGW and MSYS. **2010-06-16** new [[ftp://ftp.met.no/projects/diana/diana-3.26.0-win32.zip|diana-3.26.0-win32.zip]]. The zip file includes the diana and bdiana binaries, the required Qt DLLs, the MinGW runtime DLL, a working setup file and all the required icons etc., but no [[ftp://ftp.met.no/projects/diana/diana_maps.tar.gz|maps]] or [[ftp://ftp.met.no/projects/diana/diana_demodata.tar.gz|data]]. Extract the zip file into ''C:\'' and run ''C:\met.no\bin\diana.bat''. If you want to extract it somewhere else, you will have to edit ''diana.bat''. Extract the maps and demodata into ''C:\met.no\share\diana\''. **ERRATA** there is still an issue with ''diana.setup''. Open ''C:\met.no\etc\diana\diana.setup'' and replace every occurrence of ''Helvetica'' with ''Arial''. **Read this first** * [[windows:building:understanding|Understanding MinGW / MSYS]] * [[windows:building:issues|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]]** **Features in Diana not supported on Windows** * The profet field edit tool **Known issues** * **Large file support** - The current version of diana do not support large files (>2G) in the met.no felt format. The met.no felt files are read by the fortran library libmi. The problem might be related to the fortran compiler The entire process, in sequence: * The basics: * [[windows:building:environment|Setting up the build environment]] * [[windows:building:autotools|Installing autotools and pkg-config]] * Preparing for metlibs: * [[windows:building:compress|Building the zlib and bzip2 libraries]] * [[windows:building:image|Building the tiff, jpeg and png libraries]] * [[windows:building:boost|Building the Boost libraries]] * [[windows:building:udunits|Building the UDUNITS 1 library]] * [[windows:building:hdf|Building the NetCDF and HDF5 libraries]] * [[windows:building:grib|Building the Grib API]] * [[windows:building:proj|Building the PROJ library]] * [[windows:building:sql|Building the PostgreSQL libraries]] * [[windows:building:ftgl|Building the FreeType 2 library]] * [[windows:building:qt|Installing Qt]] * [[windows:building:metlibs|Building metlibs]] * Preparing for Diana: * [[windows:building:shapefile|Building the Shapefile library]] * [[windows:building:ffmpeg|Building FFmpeg]] * [[windows:building:diana|Building Diana]] * The release process: * [[windows:building:packaging|Packaging Diana]] See also [[windows:running]]. Other useful resources: * [[http://www.gnu.org/software/libtool/manual/html_node/index.html|The libtool manual]] * [[http://www.gnu.org/software/autoconf/manual/html_node/index.html|The autoconf manual]] * [[http://www.gnu.org/software/automake/manual/html_node/index.html|The automake manual]]