AWARE [SYSTEMS]
AWare Systems, , Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
August 2010

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



New Datamatrix section



Valid HTML 4.01!



Thread

2010.08.06 15:05 "tiff4 on 32-bit Windows", by <jcupitt@gmail.com>
2010.08.06 15:21 "Re: tiff4 on 32-bit Windows", by Bob Friesenhahn
2010.08.06 15:57 "Re: tiff4 on 32-bit Windows", by <jcupitt@gmail.com>
2010.08.06 16:24 "Re: tiff4 on 32-bit Windows", by Edward Lam
2010.08.06 16:51 "Re: tiff4 on 32-bit Windows", by Bob Friesenhahn
2010.08.06 16:38 "Re: tiff4 on 32-bit Windows", by Bob Friesenhahn
2010.08.09 12:59 "Re: tiff4 on 32-bit Windows", by <jcupitt@gmail.com>
2010.08.06 15:37 "Re: tiff4 on 32-bit Windows", by Olivier Paquet
2010.08.06 18:21 "Re: tiff4 on 32-bit Windows", by Toby Thain
2010.08.07 06:34 "tiffcp crashes on planar to strip conversion for < 8 bit", by Andreas Kleinert
2010.08.07 06:36 "Re: tiffcp crashes on tile to strip conversion for < 8 bit", by Andreas Kleinert
2010.08.15 04:45 "Re: tiffcp crashes on planar to strip conversion for < 8 bit", by Lee Howard

2010.08.06 18:21 "Re: tiff4 on 32-bit Windows", by Toby Thain

On 6-Aug-10, at 11:37 AM, Olivier Paquet wrote:

> On Fri, Aug 6, 2010 at 11:05 AM,  <jcupitt@gmail.com> wrote:
>> tiff4 seems to work well on my usual machine (64-bit linux), but I'm
>> having trouble creating files over 4GB with a 32-bit Windows binary.
>> I've spent a day chasing this so far :-( before I spend any more time
>> on it, is this a known problem?
>
> I don't know if it is a "known" problem as I've never tried to build
> libtiff on windows using any kind of officially supported method.
> However, it does work fine in the end here. First thing I'd check is
> tif_config.h/tiffconf.h: make sure TIFF_INT64_T and TIFF_UINT64_T are
> defined as signed/unsigned long long or something else which is 64-bit
> on windows. Note that long is *not* 64-bit on windows like it is on
> linux.


Just thought I'd add some links to this important point, for background.

Summary of LP64 types:
http://developer.apple.com/mac/library/documentation/Darwin/Conceptual/64bitPorting/transition/transition.html#/

/apple_ref/doc/uid/TP40001064-CH207-TPXREF101

32/64 bit Visual C:
http://msdn.microsoft.com/en-us/library/s3f49ktz(VS.80).aspx
http://msdn.microsoft.com/en-us/library/94z15h2c.aspx

(Vaguely related)
http://msdn.microsoft.com/en-us/library/aa384264(VS.85).aspx


--Toby


>
> Olivier
>
> P.S. About Bob's reply: I'm using tif_win32.c so it is possible to get
> it working with that.
> _______________________________________________
> Tiff mailing list: Tiff@lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/tiff
> http://www.remotesensing.org/libtiff/