AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2006.01.27 22:18 "[Tiff] (no subject)", by Joel Wilson
2006.01.27 22:52 "Re: [Tiff] MSVC 2005 debug", by Edward Lam
2006.01.30 18:11 "Re: [Tiff] (no subject)", by Frank Warmerdam
2006.01.31 14:22 "RE: [Tiff]MSVS 2005 build", by Joel Wilson
2006.02.02 14:33 "[Tiff] Fastest method to load tiff files?", by Edward Lam
2006.02.02 15:00 "Re: [Tiff] Fastest method to load tiff files?", by
2006.02.02 15:29 "Re: [Tiff] Fastest method to load tiff files?", by Edward Lam
2006.02.02 15:36 "Re: [Tiff] Fastest method to load tiff files?", by Frank Warmerdam

2006.01.31 14:22 "RE: [Tiff]MSVS 2005 build", by Joel Wilson

Frank,

Thanks for your tip. I explicitly added tif_win32.c in the makefile, and that solved my problems. Joel

-----Original Message-----
From: fwarmerdam@gmail.com [mailto:fwarmerdam@gmail.com]On Behalf Of
Frank Warmerdam

On 1/27/06, Joel Wilson <JoelW@surdex.com> wrote:

Frank et al

I am updating my current version of libtiff and libgeotiff. I am also moving to .net 2005. The libraries compile and run, but if I run a program in debug mode, some files cause a crash. For example geotiffcp will error out when given a 32 bps tiff, if it is built in debug, but not when built with release flags. I have traced it to a validate statement in fstat64.c. It seems to be when it is trying to open the image. In some of my programs I have this same behavior when used on 16 bit images. Any help would be greatly appreciated. Thanks.

Joel,

I'm not sure why you are seeing this problem. I don't have VS.NET 2005 so I can't easily try and replicate the issue. If you are going through fstat64 I am guessing you are using tif_unix.c instead of tif_win32.c. You might want to try tif_win32.c instead and see if that works better.