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:image [2009-11-16 11:12:03] dages |
diana:windows:building:image [2022-05-31 09:29:31] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Building | + | ====== Building |
- | **THESE INSTRUCTIONS ARE INCORRECT** | + | Download and extract the correct versions of zlib, libpng, jpeg and tiff: |
- | ===== zlib ===== | + | ^ Package |
+ | | libpng | ||
+ | | jpeg | http:// | ||
+ | | tiff | ftp:// | ||
- | Start by installing | + | Build them in the order in which they are listed in the table. |
- | ===== libjpeg ===== | + | In each case, after extracting, run the following commands: |
- | Download and extract http://www.ijg.org/files/jpegsrc.v7.tar.gz: | + | $ LDFLAGS=-L/c/met.no/lib CPPFLAGS=-I/c/met.no/ |
+ | $ make all install | ||
- | $ bsdtar xf jpegsrc.v7.tar.gz | + | Copy the licenses: |
- | $ cd jpeg-7 | + | |
- | See [[windows: | + | //libpng// |
- | $ aclocal | + | $ cp LICENSE / |
- | $ libtoolize --copy --force | + | |
- | $ automake --add-missing --copy --foreign | + | |
- | $ autoheader | + | |
- | $ autoconf | + | |
- | Now you can configure, build and install: | + | //jpeg// |
- | $ ./configure --prefix=/mingw | + | $ cp README /c/met.no/copyright/jpeg.txt |
- | $ make install | + | |
- | Do //not// install to ''/''; | + | //tiff// |
- | **Revisit later in re thread safety** | + | $ cp COPYRIGHT |
- | + | ||
- | ===== libtiff ===== | + | |
- | + | ||
- | Download and extract ftp://ftp.remotesensing.org/pub/libtiff/tiff-3.9.2.tar.gz: | + | |
- | + | ||
- | $ bsdtar xf tiff-3.9.2.tar.gz | + | |
- | $ cd tiff-3.9.2 | + | |
- | + | ||
- | See [[windows: | + | |
- | + | ||
- | $ aclocal | + | |
- | $ libtoolize --copy --force | + | |
- | $ automake --add-missing --copy --foreign | + | |
- | $ autoheader | + | |
- | $ autoconf | + | |
- | + | ||
- | Now you can configure, build and install: | + | |
- | + | ||
- | $ ./configure --prefix=/ | + | |
- | $ make install | + | |
- | + | ||
- | Do //not// install to ''/''; | + | |
- | + | ||
- | **Revisit later in re thread safety** | + | |
- | + | ||
- | ===== linpng ===== | + | |
- | + | ||
- | TBD | + | |