Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
X-Original-To: filtered@awaresystems.be
Delivered-To: filtered@awaresystems.be
Received: from mx-j.one.com (mx-j.one.com [91.198.169.57])
	by mail9.b-one.net (Postfix) with ESMTP id C2D95400707
	for <filtered@awaresystems.be>; Mon,  9 Apr 2012 15:20:16 +0200 (CEST)
X-Virus-Scanned: by one.com
Received-SPF: pass (mx-j: domain of awaresystems.be+caf_=filtered=awaresystems.be@gmail.com designates 209.85.160.48 as permitted sender)
X-Greylist: whitelisted by SQLgrey-1.8.0-rc2
Received: from mail-pb0-f48.google.com (mail-pb0-f48.google.com [209.85.160.48])
	by mx-j.one.com (Postfix) with ESMTP id 412FC44AE086
	for <filtered@awaresystems.be>; Mon,  9 Apr 2012 13:20:16 +0000 (UTC)
Received: by pbbjt11 with SMTP id jt11so5218327pbb.21
        for <filtered@awaresystems.be>; Mon, 09 Apr 2012 06:20:15 -0700 (PDT)
Received: by 10.68.220.65 with SMTP id pu1mr20171154pbc.32.1333977615272;
        Mon, 09 Apr 2012 06:20:15 -0700 (PDT)
X-Forwarded-To: filtered@awaresystems.be
X-Forwarded-For: awaresystems.be@gmail.com filtered@awaresystems.be
Delivered-To: awaresystems.be@gmail.com
Received: by 10.142.101.10 with SMTP id y10csp65282wfb;
        Mon, 9 Apr 2012 06:20:14 -0700 (PDT)
Received: by 10.68.129.234 with SMTP id nz10mr19342404pbb.87.1333977614145;
        Mon, 09 Apr 2012 06:20:14 -0700 (PDT)
Received-SPF: softfail (google.com: best guess record for domain of transitioning tiff-bounces@lists.maptools.org does not designate 91.198.169.58 as permitted sender) client-ip=91.198.169.58;
Received: by 10.130.148.6 with POP3 id v6mf3923543dad.16;
        Mon, 09 Apr 2012 06:20:13 -0700 (PDT)
X-Gmail-Fetch-Info: info@awaresystems.be 1 pop.awaresystems.be 110 info@awaresystems.be
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-k.one.com (mx-k.one.com [91.198.169.58])
	by mail9.b-one.net (Postfix) with ESMTP id 31BD7400707
	for <info@awaresystems.be>; Mon,  9 Apr 2012 15:11:59 +0200 (CEST)
X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0-rc2
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144])
	by mx-k.one.com (Postfix) with ESMTP id B39034F8415
	for <info@awaresystems.be>; Mon,  9 Apr 2012 13:11:58 +0000 (UTC)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 9BB8F1ED924;
	Mon,  9 Apr 2012 08:10:24 -0500 (EST)
Received: from na3sys009aog118.obsmtp.com (na3sys009aog118.obsmtp.com
	[74.125.149.244])
	by lists.maptools.org (Postfix) with ESMTPS id 9953E1ED924
	for <tiff@lists.maptools.org>; Mon,  9 Apr 2012 08:08:26 -0500 (EST)
Received: from hub3.qnx.com ([209.226.137.86]) (using TLSv1) by
	na3sys009aob118.postini.com ([74.125.148.12]) with SMTP
	ID DSNKT4LfSNA1WvCLQwM+0QOJ3FwmivKkDLGz@postini.com;
	Mon, 09 Apr 2012 06:09:52 PDT
Received: by hub3.qnx.com (Postfix, from userid 32767)
	id D1C236C51B0; Mon,  9 Apr 2012 09:08:23 -0400 (EDT)
Received: from exhts2.ott.qnx.com (exhts2 [10.222.2.120])
	(using TLSv1 with cipher AES128-SHA (128/128 bits))
	(No client certificate requested)
	by hub3.qnx.com (Postfix) with ESMTPS id B84946C51AE;
	Mon,  9 Apr 2012 09:08:20 -0400 (EDT)
Received: from EXMBX1.ott.qnx.com ([fe80::c5ad:e9ef:74ad:52de]) by
	exhts2.ott.qnx.com ([fe80::a599:7194:354a:50d4%13]) with mapi id
	14.01.0355.002; Mon, 9 Apr 2012 09:07:18 -0400
From: Christopher Cameron <ccameron@qnx.com>
To: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
Thread-Topic: [Tiff] LZW Support configuration issue
Thread-Index: AQHNE2dyRZwM4TCAu0iUkYYC2WS8n5aM8UWAgAWcWoA=
Date: Mon, 9 Apr 2012 13:07:17 +0000
Message-ID: <CBA85694.3752%ccameron@qnx.com>
In-Reply-To: <alpine.GSO.2.01.1204051525210.18779@freddy.simplesystems.org>
Accept-Language: en-CA, en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.222.102.221]
Content-ID: <DCEFC18042E1334C948299E900827DCF@qnx.com>
MIME-Version: 1.0
Cc: "tiff@lists.maptools.org" <tiff@lists.maptools.org>
Subject: Re: [Tiff] LZW Support configuration issue
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

I am just using libtiff 4.0.0; I don't have any other version to work
with. I am building it as part of another product's "make install"
procedure which makes use of the libtiff configuration. I am able to use
libtiff in my applications without a problem for decoding and encoding.
But I cannot seem to get LZW support to work, even when tiff_config.h says
that it is configured with "#define LZW_SUPPORT 1".

Chris Cameron
Software Developer - Multimedia/Camera
ccameron@qnx.com




On 12-04-05 4:27 PM, "Bob Friesenhahn" <bfriesen@simple.dallas.tx.us>
wrote:

>On Thu, 5 Apr 2012, Christopher Cameron wrote:
>
>> Hello,
>> 
>> 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/

_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
