large files in w32

Villalon, Elena villalel at
Tue Nov 29 15:04:26 EST 2011

Hi Benjamin, I got the libtiff-4beta7 working in windows.  My problem was with CMake and as you said I had to recompile openslide. I had the correct library for jpeg, libjpeg-8.dll but the include dir was wrong and did not correspond to jpeg-8b. As soon as I change the JPEG_INCLUDE_DIR to jpeg-8b then everything works fine and I am able to open tiff files in windows with size > 2GB. Now I have the new code and libtiff for large files in windows 32
Thanks for all your help 

-----Original Message-----
From: Benjamin Gilbert [mailto:bgilbert at] 
Sent: Wednesday, November 23, 2011 11:16 PM
To: Villalon, Elena
Cc: openslide-users at
Subject: Re: large files in w32

On 11/18/2011 02:06 PM, Villalon, Elena wrote:
> I have compiled libtiff 4 beta with Mingw/msys, using libjpeg 8, and
> all the defaults.  I get the libtiff that opens large files (>  2GB)
> but it truncates the images. It also truncates the images with less
> than 2GB, and repeats the truncated image like tiles but missing a
> good part of it. If anybody knows if I am missing a parameter or some
> other settings please let me know.

Hi Elena,

I cannot reproduce this problem.  Did you rebuild OpenSlide against 
libtiff 4?  libtiff 4 is not ABI-compatible with libtiff 3.

--Benjamin Gilbert

No virus found in this message.
Checked by AVG -
Version: 2012.0.1873 / Virus Database: 2101/4634 - Release Date: 11/23/11

More information about the openslide-users mailing list