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-26 13:58:38] dages |
diana:windows:building:image [2022-05-31 09:29:31] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Building | + | ====== Building |
| Download and extract the correct versions of zlib, libpng, jpeg and tiff: | Download and extract the correct versions of zlib, libpng, jpeg and tiff: | ||
| ^ Package | ^ Package | ||
| - | | zlib | http:// | ||
| | libpng | | libpng | ||
| - | | jpeg | http:// | + | | jpeg | http:// |
| | tiff | ftp:// | | tiff | ftp:// | ||
| Build them in the order in which they are listed in the table. | Build them in the order in which they are listed in the table. | ||
| - | To build libz, run the following commands | + | In each case, after extracting, run the following commands: |
| - | $ ./configure --prefix=/mingw | + | $ LDFLAGS=-L/ |
| - | $ make all | + | $ make all install |
| - | $ make install | + | |
| - | To build the other three, run the following commands after extracting the source code: | + | Copy the licenses: |
| - | | + | // |
| - | $ make LDFLAGS=-no-undefined all | + | |
| - | $ make LDFLAGS=-no-undefined install | + | |
| + | |||
| + | //jpeg// | ||
| + | |||
| + | $ cp README /c/met.no/ | ||
| + | |||
| + | //tiff// | ||
| + | |||
| + | $ cp COPYRIGHT /c/met.no/ | ||