Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas028.isp.belgacom.be (localhost [127.0.0.1])
        by inav009.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AV-3.00) with ESMTP id j7JGWlLY010951
        for <joris.at.lebbeke@skynet.be>; Fri, 19 Aug 2005 18:32:47 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx014.isp.belgacom.be (inmx014.isp.belgacom.be [195.238.2.217])
        by inas028.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AS-2.03) with ESMTP id j7JGWfcx031390
        for <joris.at.lebbeke@skynet.be>; Fri, 19 Aug 2005 18:32:41 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx014.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id j7JGWbwS021578
        for <joris.at.lebbeke@skynet.be>; Fri, 19 Aug 2005 18:32:38 +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 j7JGRfVY002567;
	Fri, 19 Aug 2005 12:28:19 -0400
Received: from mail.sidefx.com (tor149-99-58-193.dedicated.sprintdsl.ca
	[149.99.58.193])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id j7JGRdwJ002564
	for <tiff@lists.maptools.org>; Fri, 19 Aug 2005 12:27:39 -0400
Received: from [192.168.237.144] (crete.ithaca.sidefx.com[192.168.237.144])
	by mail.sidefx.com (Smail-3.2.0.111 2000-Feb-17 #5; 2004-May-20)
	(2521 bytes) via sendmail with /P:esmtp/R:inet_hosts/T:smtp
	id <m1E69iU-004rwKC@mail.sidefx.com> (sender <edward@sidefx.com>)
	for <tiff@lists.maptools.org>; Fri, 19 Aug 2005 12:27:38 -0400 (EDT)
Message-ID: <43060881.1040104@sidefx.com>
Date: Fri, 19 Aug 2005 12:27:45 -0400
From: Edward Lam <edward@sidefx.com>
User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: olinm@purdue.edu
Subject: Re: [Tiff] win32 libtiff
References: <006301c5a4d1$fdf96fb0$6401a8c0@loftroom>
In-Reply-To: <006301c5a4d1$fdf96fb0$6401a8c0@loftroom>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: 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.00000ae3
X-MSP-STORE: Fri, 19 Aug 2005 18:32:54 +0200
Status:   

Mark R. Olin wrote:
> Is it straightforward to compile the distribution source for libtiff3,
> jpeg62 and zlib1 as
> say a set of static libraries? Is there guidance available other that
> the Makefiles.

I haven't done it before since our setup was done by me. I imagine it should be
straightforward. It should be just a matter of changing the calls to
compiler/linker.

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

>>-----Original Message-----
>>
>>Yes, but we compile it ourselves.
>>
>>Offhand, I'd double-check that your application is either 
>>compiled in release 
>>mode or linked with the release C runtime libraries (eg. -MD).
>>
>>Also double-check if the regular distribution programs like 
>>tiffinfo.exe work. 
>>If those work but not your program, then it's your fault. :)
>>
>>-Edward
>>
>>Mark R. Olin wrote:
>>
>>>Hi,
>>> 
>>>Anybody here use the win32 version of libtiff?
>>> 
>>>#2 breakpoint immediately after TIFFOpen is called
>>> 
>>>At #2 the Debug Log gives an unexpected output showing an Access 
>>>Violation:
>>> 
>>>----- Win32 Debug Session #01 --------
>>> 
>>>Program load @0x00400000 PID 0x000009C4 TID 0x00000D44 Loading 
>>>ntdll.dll @0x7C900000 Loading KERNEL32.dll @0x7C800000
>>>Loading USER32.dll @0x77D40000
>>>Loading GDI32.dll @0x77F10000
>>>Loading libtiff3.dll @0x6FD80000
>>>Loading jpeg62.dll @0x686C0000
>>>Loading msvcrt.dll @0x77C10000
>>>Loading zlib1.dll @0x61B80000
>>>Access Violation at address 0x7C96CC82
>>>The program pointer is pointing at "ntdll.dll" and a Debug 
>>
>>message appears
>>
>>> 
>>>[Debug Messages]
>>> 
>>>HEAP[tiffread.exe]:
>>>Invalid Address specified to RtlFreeHeap( 00140000, 0014A640 )
>>> 
> 
> 


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