Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
diana:windows:building:image [2009-11-13 12:44:51]
dages
diana:windows:building:image [2022-05-31 09:29:31] (current)
Line 1: Line 1:
-====== Building libtiff, libjpeg and libpng on Windows ======+====== Building libpng, libjpeg and libtiff on Windows ======
  
-===== libtiff =====+Download and extract the correct versions of zlib, libpng, jpeg and tiff:
  
-Download and extract ftp://ftp.remotesensing.org/pub/libtiff/tiff-3.9.2.tar.gz:+^ Package   ^ Location                                       ^ Version ^ 
 +| libpng    | http://sourceforge.net/projects/libpng/files/  | 1.2.40 
 +| jpeg      | http://www.ijg.org/files/                      | 8       | 
 +| tiff      | ftp://ftp.remotesensing.org/pub/libtiff/       | 3.9.2   |
  
-  $ bsdtar xf tiff-3.9.2.tar.gz +Build them in the order in which they are listed in the table.
-  $ cd tiff-3.9.2+
  
-See [[windows:building:issues#incorrect_library_names]]; libtiff's ''autogen.sh'' is brokenso run the following commands to fix the libtool issue:+In each case, after extracting, run the following commands:
  
-  $ aclocal +  $ LDFLAGS=-L/c/met.no/lib CPPFLAGS=-I/c/met.no/include ./configure --prefix=/c/met.no --disable-shared 
-  $ libtoolize --copy --force +  $ make all install
-  $ automake --add-missing --copy --foreign +
-  $ autoheader +
-  $ autoconf+
  
-Now you can configure, build and install:+Copy the licenses:
  
-  $ ./autogen.sh +//libpng//
-  $ ./configure --prefix=/mingw +
-  $ make install+
  
-Do //not// install to ''/''; remember that ''/'' is MSYS and ''/mingw'' is MinGW+  $ cp LICENSE /c/met.no/copyright/libpng.txt
  
-**Revisit later in re thread safety**+//jpeg//
  
-===== libjpeg =====+  $ cp README /c/met.no/copyright/jpeg.txt
  
-TBD+//tiff//
  
-===== linpng ===== +  $ cp COPYRIGHT /c/met.no/copyright/tiff.txt
- +
-TBD+
  
  • diana/windows/building/image.1258116291.txt.gz
  • Last modified: 2022-05-31 09:23:14
  • (external edit)