[Insight-users] fail to compile itk with GDCM2.x

Hsiang-Chi Kuo kuoxgx at gmail.com
Fri Apr 3 10:09:12 EDT 2009


Hi,

I am having problem to build ITK with USE_SYSTEM_GDCM, itk fails to compile
when I enable that flag:



c:\itk\itk3.12\code\io\itkGDCMSeriesFileNames.h(157) : error C2664: 'void
gdcm::SerieHelper::AddRestriction(const gdcm::TagKey &)' : cannot convert
parameter 1 from 'const std::string' to 'const gdcm::TagKey &'

        Reason: cannot convert from 'const std::string' to 'const
gdcm::TagKey'

        No user-defined-conversion operator available that can perform this
conversion, or the operator cannot be called

..\..\..\ITK3.12\Code\IO\itkGDCMSeriesFileNames.cxx(34) : error C2248:
'gdcm::SerieHelper::SerieHelper' : cannot access protected member declared
in class 'gdcm::SerieHelper'

        C:\GDCM\gdcm\src\gdcmSerieHelper.h(190) : see declaration of
'gdcm::SerieHelper::SerieHelper'

        C:\GDCM\gdcm\src\gdcmSerieHelper.h(63) : see declaration of
'gdcm::SerieHelper'


Can anyone help to fix it?

Thanks in advance.

Howard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090403/059ce401/attachment-0001.htm>


More information about the Insight-users mailing list