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

Hsiang-Chi Kuo kuoxgx at gmail.com
Tue Apr 7 00:25:35 EDT 2009


I have downloaded another gdcm-2.0.10. and rebuild itk3.12
with USE_SYSTEM_GDCM on.
I am having the following error message for unable to generate the itkio.lib


c:\itk\itk3.12\code\io\itkRTSTRUCTIO.h(28) : fatal error C1083: Cannot
open include file: 'gdcmSeqEntry.h': No such file or directory

..\..\..\ITK3.12\Code\IO\itkGDCMImageIO.cxx(713) : warning C4101:
'u12' : unreferenced local variable

Thanks for your time.

Howard


Message: 1
Date: Sun, 5 Apr 2009 21:42:36 +0200
From: Mathieu Malaterre <mathieu.malaterre at gmail.com>
Subject: Re: [Insight-users] fail to compile itk with GDCM2.x
To: Hsiang-Chi Kuo <kuoxgx at gmail.com>
Cc: insight-users at itk.org
Message-ID:
       <bf0c3b3f0904051242p30268323y4a2b8f5303d1bfc0 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Fri, Apr 3, 2009 at 4:09 PM, Hsiang-Chi Kuo <kuoxgx at gmail.com> wrote:
> 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'
>

What version of GDCM are you trying to use (value entered in GDCM_DIR).

Thanks,

--
Mathieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090407/684c88a3/attachment.htm>


More information about the Insight-users mailing list