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-12-01 14:44:10] dages |
diana:windows:building:image [2022-05-31 09:29:31] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Building | + | ====== Building libpng, libjpeg and libtiff on Windows ====== |
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: |
- | $ make -f win32/Makefile.gcc INCLUDE_PATH=/ | + | $ LDFLAGS=-L/c/met.no/lib CPPFLAGS=-I/c/met.no/include |
- | $ mv /mingw/ | + | $ make all install |
- | To build the other three, run the following commands after extracting the source code: | + | Copy the licenses: |
- | | + | // |
- | $ make all install | + | |
+ | | ||
+ | |||
+ | //jpeg// | ||
+ | |||
+ | $ cp README / | ||
+ | |||
+ | //tiff// | ||
+ | |||
+ | $ cp COPYRIGHT / | ||