2013.10.28 07:43 "[Tiff] Does TIFF support 15-bit (RGB555 or 5551) images?", by Nikos Chantziaras

2013.12.02 17:13 "Re: [Tiff] Tiff Digest, Vol 115, Issue 1", by Graeme Gemmill

On 02/12/13 17:00, tiff-request@lists.maptools.org wrote: > Send Tiff mailing list submissions to

> To subscribe or unsubscribe via the World Wide Web, visit

> or, via email, send a message with subject or body 'help' to
> tiff-request@lists.maptools.org
>
> You can reach the person managing the list at
> tiff-owner@lists.maptools.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Tiff digest..."
>
>
> Today's Topics:
>
> 1. (no subject) (Nacho Man)
> 2. Re: Compile problem in tif_jpeg.c (Bob Friesenhahn)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 1 Dec 2013 18:35:22 -0800 (PST)
> From: Nacho Man <nacho2874@yahoo.com>
> Subject: [Tiff] (no subject)
> To: "tiff@lists.maptools.org" <tiff@lists.maptools.org>
> Message-ID:
> <1385951722.90803.YahooMailNeo@web162605.mail.bf1.yahoo.com>
> Content-Type: text/plain; charset=iso-8859-1

Hello,

I am working on updating the PS3Libraries to the latest versions. using an older version of the tiff library (3.9.4) and an older library of libzip (0.9.3). successfully compiled libzip (0.11.1) but now I have trouble compiling the tiff library (4.0.3). message I receive is as follows: ? It was? I have?? The error

In file included from ../../libtiff/tif_jpeg.c:30:0:

> ../../libtiff/tiffiop.h:72:16: error: expected identifier before numeric constant > ?# define FALSE 0

>??????????????? ^

/usr/local/ps3dev/portlibs/ppu/include/jmorecfg.h:263:16: note: in expansion of macro 'FALSE'
{ FALSE = 0, TRUE = 1 } boolean; ?typedef enum

>??????????????? ^

make[2]: *** [tif_jpeg.lo] Error 1

In the jmorecfg.h header file, it says:

/*

?* On a few systems, type boolean and/or its values FALSE, TRUE may appear

?* in standard header files. you may have conflicts with application- ? Or

?* specific header files that you want to include together with these files.

?* Defining HAVE_BOOLEAN before including jpeglib.h should make it work.

> ?*/

#ifdef HAVE_BOOLEAN

> #ifndef FALSE?????????????????? /* in case these macros already exist */ > #define FALSE?? 0?????????????? /* values of boolean */

#ifndef TRUE

> #define TRUE??? 1

#endif
#else

 typedef enum { FALSE = 0, TRUE = 1 } boolean;

#endif

HAVE_BOOLEAN gets defined in tif_jpeg.c if I'm compiling in a WIN32 environment. compiling on a Linux x86_64 OS. have tried defining HAVE_BOOLEAN anyways and I get a lot more errors. anyone have any suggestions on what to do? are my configure options: ? I'm? I?? Does? These

CPPFLAGS="-I$PSL1GHT/ppu/include -I$PSL1GHT/portlibs/ppu/include" \

CFLAGS="-I$PSL1GHT/ppu/include -I$PS3DEV/portlibs/ppu/include" \

LDFLAGS="-L$PSL1GHT/ppu/lib -L$PS3DEV/portlibs/ppu/lib -lrt -llv2" \

PKG_CONFIG_PATH="$PS3DEV/portlibs/ppu/lib/pkgconfig" \

../configure --prefix="$PS3DEV/portlibs/ppu" --host="powerpc64-ps3-elf" --disable-shared

> ------------------------------
>
> Message: 2
> Date: Mon, 2 Dec 2013 09:02:03 -0600 (CST)
> From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
> Subject: Re: [Tiff] Compile problem in tif_jpeg.c
> To: Nacho Man <nacho2874@yahoo.com>
> Cc: "tiff@lists.maptools.org" <tiff@lists.maptools.org>
> Message-ID:
> <alpine.GSO.2.01.1312020854390.2267@freddy.simplesystems.org>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On Sun, 1 Dec 2013, Nacho Man wrote:
>
>> Hello,
>> I am working on updating the PS3Libraries to the latest versions.? It was using an older version of the tiff library (3.9.4) and an older library of libzip (0.9.3).? I have successfully compiled libzip (0.11.1) but now I have trouble compiling the tiff library (4.0.3).?? The error message I receive is as follows:
>>
>> In file included from ../../libtiff/tif_jpeg.c:30:0:
>> ../../libtiff/tiffiop.h:72:16: error: expected identifier before numeric constant
>> ?# define FALSE 0
>>??????????????? ^
>> /usr/local/ps3dev/portlibs/ppu/include/jmorecfg.h:263:16: note: in expansion of macro 'FALSE'
>> ?typedef enum { FALSE = 0, TRUE = 1 } boolean;
>>??????????????? ^
>> make[2]: *** [tif_jpeg.lo] Error 1
> This is a problem with libjpeg 9. I argued with Guido that he should
> not rely on this syntax but he did anyway. If you can not figure out
> a work-around, you could try an earlier release.
>

> There is a development version of libjpeg 9's successor available from > "http://www.infai.org/jpeg/". It claims to have solved this problem.

> I have not tested this development version and it is possible that the > new features might cause some issue with libtiff.

>
> Bob

Yes, I reported the same error on November 12th. I would be interested to learn if you find a work-around/solution.

Graeme