This is an old revision of the document!
Building JasPer and the Grib API on Windows
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://www.ece.uvic.ca/~mdadams/jasper/ and extract it in a convenient place.
Next, in src/appl/tmrdemo.c
, replace sleep(1)
with usleep(1000)
.
Finally, configure, build and install:
$ ./configure --prefix=/opt/jasper $ make LDFLAGS=-no-undefined all install
TODO: replace with OpenJPEG?
Grib API
UNFINISHED
First, get the latest source (currently 1.8.0) from http://www.ecmwf.int/products/data/software/download/grib_api.html and extract it in a convenient place, then configure, build and install:
$ ./configure --prefix=/opt/grib
TODO: check configure options