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-26 19:39:33] dages jasper |
diana:windows:building:grib [2022-05-31 09:29:31] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Building JasPer and the Grib API on Windows ====== | ====== Building JasPer and the Grib API on Windows ====== | ||
+ | |||
+ | **XXX** is JasPer really required? '' | ||
===== JasPer ===== | ===== JasPer ===== | ||
Line 11: | Line 13: | ||
Finally, configure, build and install: | Finally, configure, build and install: | ||
- | $ ./configure --prefix=/opt/jasper | + | $ LDFLAGS=-L/ |
- | $ make LDFLAGS=-no-undefined | + | $ make all install |
+ | $ cp LICENSE / | ||
- | **TODO: replace with OpenJPEG?** | + | **TODO:** replace with [[http:// |
===== Grib API ===== | ===== Grib API ===== | ||
- | **UNFINISHED** | + | First, get the latest source (currently 1.8.0) from http:// |
- | First, get the latest source (currently 1.8.0) from http://www.ecmwf.int/ | + | Grib comes with a tool called '' |
- | $ ./configure --prefix=/opt/grib | + | $ 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. | ||