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 19:37:35] dages move jasper |
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: |
+ | |||
+ | $ LDFLAGS=-L/ | ||
+ | $ make all install | ||
+ | |||
+ | Copy the licenses: | ||
+ | |||
+ | // | ||
+ | |||
+ | $ cp LICENSE / | ||
+ | |||
+ | //jpeg// | ||
- | $ make -f win32/Makefile.gcc INCLUDE_PATH=/mingw/ | + | $ cp README |
- | $ mv / | + | |
- | To build the other three, run the following commands after extracting the source code: | + | //tiff// |
- | $ ./configure --prefix=/mingw | + | $ cp COPYRIGHT |
- | $ make LDFLAGS=-no-undefined all install | + | |