AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2012.04.05 20:05 "[Tiff] LZW Support configuration issue", by Christopher Cameron
2012.04.05 20:27 "Re: [Tiff] LZW Support configuration issue", by Bob Friesenhahn
2012.04.09 13:07 "Re: [Tiff] LZW Support configuration issue", by Christopher Cameron
2012.04.17 17:25 "Re: [Tiff] LZW Support configuration issue", by Christopher Cameron

2012.04.05 20:27 "Re: [Tiff] LZW Support configuration issue", by Bob Friesenhahn

I am currently re-configuring libtiff 4.0.0 to support LZW.

As far as I understand, all I had to do was re-run configure without the "--disable-lzw" option, rebuild, and then rebuild my code which makes use of libtiff. All seems well in the code - LZW_SUPPORT is defined, and the code in tif_lzw.c is not inactive anymore (in the editor, I mean).

LZW is indeed supported by default for many years now.

But when I run my code, I get the following error:

\X$x5 compression support is not configured

Quite strange how what probably should read "LZW" reads "\X$x5" and in fact this has also been "\X x5" and various other unsavory looking characters (hah).

Probably you are still using some archaic libtiff rather than the one you just built, or a mix of both. Did you remember to do 'make install' to put the build product where your own software can find it?

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