|
|
diana:windows:building [2010-04-09 13:16:49] dages |
diana:windows:building [2022-05-31 09:29:31] |
====== 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-09** new [[http://pastebin.met.no/pastebin/cgi-bin/file?id=730037e4f0784219c3b1450134cea872db057a7f/diana-r1967-metlibs-r3201-win32.zip|snapshot]] built with metlibs r3201, diana r1967. 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/diana/diana_maps.tar.gz|maps]] or [[ftp://ftp.met.no/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]]** | |
| |
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]] | |