[Insight-developers] ITK_USE_SYSTEM_TIFF problematic

Brad King brad.king at kitware.com
Fri Jun 8 14:25:19 EDT 2012


On 06/08/2012 02:12 PM, Williams, Norman K wrote:
> So maybe if ITK_USE_SYSTEM_TIFF is set, should TIFFLIB_VERSION in
> tiffvers.h be checked and reject anything before a certain date?

Use of the newer TIFF API was introduced here:

 http://itk.org/gitweb?p=ITK.git;a=commitdiff;h=563abcab

Prior to that change itkTIFFImageIO.cxx probably worked with the
older system tiff.  One could add preprocessor tests against the
TIFFLIB_VERSION value to switch APIs.

-Brad


More information about the Insight-developers mailing list