Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
diana:windows:building:grib [2009-11-16 13:34:56] dages created |
diana:windows:building:grib [2022-05-31 09:29:31] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Building the Grib API on Windows ====== | + | ====== Building |
- | Download the source | + | **XXX** is JasPer really required? '' |
+ | |||
+ | ===== JasPer ===== | ||
+ | |||
+ | JasPer is an obnoxious little piece of software that should be avoided at all costs, but Grib uses it, so we're stuck with it. | ||
+ | |||
+ | Download the latest | ||
+ | |||
+ | Next, in '' | ||
+ | |||
+ | Finally, configure, build and install: | ||
+ | |||
+ | $ LDFLAGS=-L/ | ||
+ | $ make all install | ||
+ | $ cp LICENSE / | ||
+ | |||
+ | **TODO:** replace with [[http:// | ||
+ | |||
+ | ===== Grib API ===== | ||
+ | |||
+ | First, get the latest source (currently 1.8.0) | ||
+ | |||
+ | Grib comes with a tool called '' | ||
+ | |||
+ | $ aclocal | ||
+ | $ automake | ||
+ | |||
+ | You may have to '' | ||
+ | |||
+ | Finally, configure, build and install: | ||
+ | |||
+ | $ LDFLAGS=-L/ | ||
+ | $ make all install | ||
+ | $ cp AUTHORS / | ||
+ | $ cat LICENSE >>/ | ||
+ | |||
+ | < | ||
+ | |||
+ | **TODO:** check configure options | ||
+ | |||
+ | **TODO:** check interactions between GPLv3 and licenses for other third-party components used by metlibs / diana | ||
+ | |||
+ | Comment from SMHI. | ||
+ | All fopen need to be with rb and wb, otherwise fseek doesn' | ||
+ | |||
+ | GRIB_DEFINITION_PATH must be correct. | ||