Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas018.isp.belgacom.be (localhost [127.0.0.1])
        by inav019.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AV-3.00) with ESMTP id j7JKjYji010144
        for <joris.at.lebbeke@skynet.be>; Fri, 19 Aug 2005 22:45:34 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx015.isp.belgacom.be (inmx015.isp.belgacom.be [195.238.2.218])
        by inas018.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AS-2.03) with ESMTP id j7JKjPWO023653
        for <joris.at.lebbeke@skynet.be>; Fri, 19 Aug 2005 22:45:25 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx015.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id j7JKjIt7009632
        for <joris.at.lebbeke@skynet.be>; Fri, 19 Aug 2005 22:45:18 +0200
        (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 j7JKb9CU009378;
	Fri, 19 Aug 2005 16:38:24 -0400
Received: from mailhub128.itcs.purdue.edu (mailhub128.itcs.purdue.edu
	[128.210.5.128])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id j7JKb5MS009375
	for <tiff@lists.maptools.org>; Fri, 19 Aug 2005 16:37:05 -0400
Received: from jasper (jasper.vet.purdue.edu [128.210.79.167])
	(authenticated bits=0)
	by mailhub128.itcs.purdue.edu (8.13.4/8.13.4/internal-smtp) with ESMTP
	id j7JKb3gR018171; Fri, 19 Aug 2005 15:37:03 -0500
Message-Id: <200508192037.j7JKb3gR018171@mailhub128.itcs.purdue.edu>
From: "Mark R. Olin" <olinm@purdue.edu>
To: "'Edward Lam'" <edward@sidefx.com>
Subject: RE: [Tiff] win32 libtiff
Date: Fri, 19 Aug 2005 15:37:13 -0500
Organization: Purdue University
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook, Build 11.0.6353
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
In-reply-to: <000001c5a4e5$22a26020$6401a8c0@loftroom>
thread-index: AcWk5UwIU2soipaRQ6Gx0VuqftJznwAFiLMQ
X-PMX-Version: 4.7.1.128075
X-PerlMx-Virus-Scanned: Yes
Cc: tiff@lists.maptools.org
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: olinm@purdue.edu
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.00000ae6
X-MSP-STORE: Fri, 19 Aug 2005 22:45:42 +0200
Status:   

I was able to compile a binary lib and dll using "nmake" (begrudgingly),
which is a MS Visual Studio utility (I have it, but don't use much).

I read comments in "makefile.vc" in the libtiff distribution which said
to execute 

nmake /f makefile.vc all

and that worked to supply me with natively compiled libtiff.lib and
libtiff.dll.

Linking them into my program using Codewarrior IDE, I am able to use
the TIFF routines successfully again, but with the same unusual
Access Violation and runtime error in ntdll.dll.

Invalid Address specified to RtlFreeHeap( 00140000, 0014A2F8 )

Since I am using two different linking environments, Codewarrior and MSVC,
I am thinking that the problem lies there.

Anyway, thanks to Edward L. for the new direction.

Mark


> 
> I'll work with Cygwin gcc and make and let you know how it goes.
> Gotta install Cygwin first though.
> 
> Thanks...
> 
> > 
> > I really recommend setting up make. There's a win32 version 
> > of make that you can compile as well although I'm not sure 
> > how well it works. We're using the cygwin version of gnu make.
> > 
> > Regards,
> > -Edward
> > 
> 

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