Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
diana:windows:building:grib [2009-11-23 14:17:43] dages |
diana:windows:building:grib [2022-05-31 09:29:31] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Building the Grib API on Windows ====== | + | ====== Building |
| - | First, get the latest source (currently 1.8.0) from http:// | + | **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 source (currently 1.900.1) from http:// | ||
| + | |||
| + | Next, in '' | ||
| + | |||
| + | Finally, configure, build and install: | ||
| + | |||
| + | | ||
| + | $ make all install | ||
| + | $ cp LICENSE / | ||
| + | |||
| + | **TODO:** replace with [[http:// | ||
| + | |||
| + | ===== Grib API ===== | ||
| + | |||
| + | First, get the latest source (currently 1.8.0) from http:// | ||
| + | |||
| + | 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 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. | ||