2007.10.22 17:40 "[Tiff] bad version number 10752", by Kai-Uwe Behrmann

2007.10.22 20:07 "Re: [Tiff] bad version number 10752", by Toby Thain

On 22-Oct-07, at 3:50 PM, Kai-Uwe Behrmann wrote:

Am 22.10.07, 13:31 -0500 schrieb Bob Friesenhahn:

With a universal binary version of libtiff (3.8.2 and 3.9beta) the reading of little endian tiffs on a G4 PPC fails with every application.

Does the problem have anything to do with the library being built as a universal binary?

Certainly. The files where written and read by a libtiff v3.8.2 as pure big endian version and the Preview app shows them correctly. The universal built libtiff gives up.

Apple recommends to use runtime endianess checking. Very often software checks on compile time.

As far as I know, the libtiff build system has no way to build a universal binary correctly from a single configure. This breaks a number of my own projects too.


kind regards

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