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-27 13:43:42] dages |
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:// | ||
Line 31: | Line 32: | ||
Finally, configure, build and install: | Finally, configure, build and install: | ||
- | $ ./configure --prefix=/opt/grib --with-jasper=/opt/jasper | + | $ LDFLAGS=-L/ |
$ make all install | $ make all install | ||
+ | $ cp AUTHORS / | ||
+ | $ cat LICENSE >>/ | ||
- | Note that Grib does not build shared libraries (not sure why, the code to do so is partly present but commented out). | + | <del>Note that Grib does not build shared libraries (not sure why, the code to do so is partly present but commented out).</ |
**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. | ||