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 [email protected]






________________________________
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.
________________________________
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-developers

Reply via email to