Return-Path: <tiff-bounces@lists.maptools.org>
Received: from infbas006.isp.belgacom.be (localhost [127.0.0.1])
        by inav030.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AV-3.00) with ESMTP id k0VEaAfi016917
        for <joris.at.lebbeke@skynet.be>; Tue, 31 Jan 2006 15:36:10 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inas020.isp.belgacom.be (inas020.isp.belgacom.be [195.238.4.133])
        by infbas006.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id k0VEa2WB025188
        for <joris.at.lebbeke@skynet.be>; Tue, 31 Jan 2006 15:36:03 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx009.isp.belgacom.be (inmx009.isp.belgacom.be [195.238.5.146])
        by inas020.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AS-2.03) with ESMTP id k0VEZrbd001117
        for <joris.at.lebbeke@skynet.be>; Tue, 31 Jan 2006 15:35:54 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx009.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id k0VEZgMN009754
        for <joris.at.lebbeke@skynet.be>; Tue, 31 Jan 2006 15:35:42 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (duke.maptools.org [127.0.0.1])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id k0VEMvAh026982;
	Tue, 31 Jan 2006 09:24:13 -0500
Received: from surdex.com (surdex.com [65.66.40.98] (may be forged))
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id k0VEMPrZ026979
	for <tiff@lists.maptools.org>; Tue, 31 Jan 2006 09:22:55 -0500
X-SEF-Processed: 5_0_0_816__2006_01_31_08_22_11
Received: from Unknown [128.127.50.1] by EmailServer - Surdex - SurfControl
	E-mail Filter (5.0); Tue, 31 Jan 2006 08:22:10 -0600
X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: RE: [Tiff]MSVS 2005 build
Date: Tue, 31 Jan 2006 08:22:10 -0600
Message-ID: <0C36EAD082BD9947B9B1E639A62A14AAAC0B00@emailserver.sdxdomain>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Tiff] (no subject)
Thread-Index: AcYlyJa2GsghxVFkSCaMQ5x+/qWZEQAqNaNA
From: "Joel Wilson" <JoelW@surdex.com>
To: "Frank Warmerdam" <warmerdam@pobox.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by duke.maptools.org id
	k0VEMPrZ026979
Cc: "Libtif \(E-mail\)" <tiff@lists.maptools.org>
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-UIDL: 000000000023ceae.00001217
X-MSP-STORE: Tue, 31 Jan 2006 15:36:19 +0100
Status:   

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
Sent: Monday, January 30, 2006 12:11 PM
To: Joel Wilson
Cc: tiff@lists.maptools.org
Subject: Re: [Tiff] (no subject)


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.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent




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