[Insight-users] fail to compile itk with GDCM2.x
Hsiang-Chi Kuo
kuoxgx at gmail.com
Tue Apr 7 10:20:38 EDT 2009
This is the from the module of "Exporting Contours to DICOM-RT Structure
Set:http://www.insight-journal.org/browse/publication/316". For now my
purpose is to read a RT dose file with 32U.
Thanks.
Howard
On Tue, Apr 7, 2009 at 4:14 AM, Mathieu Malaterre <
mathieu.malaterre at gmail.com> wrote:
> What's itkRTSTRUCTIO.h ? Where is it coming from ?
>
> On Tue, Apr 7, 2009 at 6:25 AM, Hsiang-Chi Kuo <kuoxgx at gmail.com> wrote:
> > 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
>
>
>
> --
> Mathieu
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090407/d8d3f4d6/attachment-0001.htm>
More information about the Insight-users
mailing list