
Thread
2010.08.06 18:21 "Re: [Tiff] 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.