AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2014.04.06 19:53 "[Tiff] Building libtiff 4.0.3 dll on mingw win32", by Lyndon Hill
2014.04.06 20:12 "Re: [Tiff] Building libtiff 4.0.3 dll on mingw win32", by Bob Friesenhahn
2014.04.07 20:07 "Re: [Tiff] Building libtiff 4.0.3 dll on mingw win32", by Lyndon Hill
2014.04.07 21:00 "Re: [Tiff] Building libtiff 4.0.3 dll on mingw win32", by Bob Friesenhahn
2014.04.08 20:39 "Re: [Tiff] Building libtiff 4.0.3 dll on mingw win32", by Lyndon Hill
2014.05.09 07:14 "[Tiff] compiling for bigtiff?", by
2014.05.09 08:20 "Re: [Tiff] compiling for bigtiff?", by John
2014.05.09 08:25 "Re: [Tiff] compiling for bigtiff?", by
2014.05.09 13:11 "Re: [Tiff] compiling for bigtiff?", by Edward Lam

2014.04.06 20:12 "Re: [Tiff] Building libtiff 4.0.3 dll on mingw win32", by Bob Friesenhahn

I'm trying to build a libtiff dll under mingw (msys in fact).

After unzipping the source, I can do a configure and make with no problems.

I give configure the path to libjpeg, as I have already compiled and installed that into mingw.

The output of make is libtiff.a and libtiff.la, no dll.

Usually you should get lib/libtiff.a, lib/libtiff.dll.a, lib/libtiff.la, bin/libtiff-5.dll, and the libtiffxx equivalents for C++.

The libraries that libtiff depends on should also be built as DLLs.

I install under a common prefix using --prefix (e.g. /usr/local).

Be sure to do 'make install' for each library as soon as it is built.

You should include ${prefix}/bin (where ${prefix} is the prefix you supplied to configure) in the PATH environment variable. This allows the DLLs to be found at run-time since Windows searches in the executable search path.

It is useful to watch the configure and build output for any clues as to why something is not working as you expect. Usually libtool offers some useful clues (e.g. "Did not find DLL for blah blah").

Bob
--
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/