[Insight-developers] ITK_USE_SYSTEM_TIFF problematic
Williams, Norman K
norman-k-williams at uiowa.edu
Fri Jun 8 14:12:44 EDT 2012
I ran into this testing building DCMTK with ITK_USE_SYSTEM_TIFF. As it
happens this problem has nothing to do with DCMTK:
ITK/Modules/IO/TIFF/src/itkTIFFImageIO.cxx: In member function Œvoid
itk::TIFFImageIO::ReadTwoSamplesPerPixelImage(void*, unsigned int,
unsigned int)¹:
ITK/Modules/IO/TIFF/src/itkTIFFImageIO.cxx:301: error:
ŒTIFFScanlineSize64¹ was not declared in this scope
ITK/Modules/IO/TIFF/src/itkTIFFImageIO.cxx: In member function Œvoid
itk::TIFFImageIO::ReadGenericImage(void*, unsigned int, unsigned int)¹:
ITK/Modules/IO/TIFF/src/itkTIFFImageIO.cxx:454: error:
ŒTIFFScanlineSize64¹ was not declared in this scope
ITK/Modules/IO/TIFF/src/itkTIFFImageIO.cxx: In member function Œbool
itk::TIFFImageIO::CanFindTIFFTag(unsigned int)¹:
ITK/Modules/IO/TIFF/src/itkTIFFImageIO.cxx:1953: error: expected
initializer before Œ*¹ token
ITK/Modules/IO/TIFF/src/itkTIFFImageIO.cxx:1954: error: Œfld¹ was not
declared in this scope
ITK/Modules/IO/TIFF/src/itkTIFFImageIO.cxx:1952: warning: unused variable
Œtag¹
ITK/Modules/IO/TIFF/src/itkTIFFImageIO.cxx: In member function Œvoid*
itk::TIFFImageIO::ReadRawByteFromTag(unsigned int, short int&)¹:
ITK/Modules/IO/TIFF/src/itkTIFFImageIO.cxx:1971: error: expected
initializer before Œ*¹ token
ITK/Modules/IO/TIFF/src/itkTIFFImageIO.cxx:1972: error: Œfld¹ was not
declared in this scope
This is on Red Hat Enterprise Linux 6.2
It appears that RHEL has an old enough TIFF version that it won't work
with TIFFImageIO. Brad King had told me 'if you set ITK_USE_SYSTEM_DCMTK,
you should enforce using
ITK_USE_SYSTEM_JPEG,ITK_USE_SYSTEM_ZLIB,ITK_USE_SYSTEM_TIFF' but it
appears that this may not be an option.
So Š maybe if ITK_USE_SYSTEM_TIFF is set, should TIFFLIB_VERSION in
tiffvers.h be checked and reject anything before a certain date?
--
Kent Williams norman-k-williams at uiowa.edu
________________________________
Notice: This UI Health Care e-mail (including attachments) is covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may be legally privileged. If you are not the intended recipient, you are hereby notified that any retention, dissemination, distribution, or copying of this communication is strictly prohibited. Please reply to the sender that you have received the message in error, then delete it. Thank you.
________________________________
More information about the Insight-developers
mailing list