[Insight-users] [ITK3] ITK3.20 + VTK5.6.1 + GDCM 2.2

Marta Peroni m.peroni at gmail.com
Wed Mar 14 18:26:20 EDT 2012


Hi Kent!
thanks for answering...
I finally manage to solve my problem (installing GDCM actually made the
gdcm symbols export possible --> compiled) and it works beautifully :)

AFAIK, DCMTK does not have DICOMRT support yet...although I read they're
going to implement it soon.
Marta

On 13 March 2012 18:25, Kent Williams <nkwmailinglists at gmail.com> wrote:

> I should also mention that sometime after ITK 4.1 the GDCM support
> will be deprecated, and ITK will be using DCMTK instead.  There are
> some technical and maintenance reasons for this, but it wouldn't hurt
> if you're serious about DICOM, it would be a good thing to get DCMTK
> and learn to use it.
>
> On Tue, Mar 13, 2012 at 11:54 AM, Marta Peroni <m.peroni at gmail.com> wrote:
> > Hi!
> > I'm in need of having the version of ITK/VTK/GDCM mentioned in the
> subject
> > communicating together for one project. I'm stuck with ITK and VTK
> versions
> > (i.e. canNOT modify them).
> > I'd love to have GDCM 2 though instead of GDCM 1.
> >
> > I can successfully configure VTK5.6 + GDCM 2.2 and runs beautifully.
> > I am not able to add ITK though.
> >
> > at first I had the vtkmetaio error, which I solved with this:
> >
> > now, I set ITK_USE_SYSTEM_GDCM and make sure to link to correct folders.
> I
> > can configure, but cannot compile.....
> > first line of make:
> >
> > ../../bin/libITKIO.a(itkGDCMImageIO.o): In function
> > `itk::GDCMImageIO::CanReadFile(char const*)':
> > itkGDCMImageIO.cxx:(.text+0x136a): undefined reference to
> > `gdcm::Reader::SetFileName(char const*)'
> > ../../bin/libITKIO.a(itkGDCMImageIO.o): In function
> > `itk::GDCMImageIO::Read(void*)':
> > itkGDCMImageIO.cxx:(.text+0x14a8): undefined reference to
> > `gdcm::Reader::SetFileName(char const*)'
> > itkGDCMImageIO.cxx:(.text+0x18a0): undefined reference to
> > `gdcm::Unpacker12Bits::Unpack(char*, char const*, unsigned long)'
> > ../../bin/libITKIO.a(itkGDCMImageIO.o): In function
> > `itk::GDCMImageIO::InternalReadImageInformation(std::basic_ifstream<char,
> > std::char_traits<char> >&)':
> > itkGDCMImageIO.cxx:(.text+0x1e8d): undefined reference to
> > `gdcm::Reader::SetFileName(char const*)'
> > ../../bin/libITKIO.a(itkGDCMImageIO.o): In function
> > `itk::GDCMImageIO::Write(void const*)':
> > itkGDCMImageIO.cxx:(.text+0x32e1): undefined reference to
> > `gdcm::FileMetaInformation::AppendImplementationClassUID(char const*)'
> > itkGDCMImageIO.cxx:(.text+0x3364): undefined reference to
> > `gdcm::FileMetaInformation::SetSourceApplicationEntityTitle(char const*)'
> > itkGDCMImageIO.cxx:(.text+0x3393): undefined reference to
> > `gdcm::Global::GetInstance()'
> > itkGDCMImageIO.cxx:(.text+0x33a3): undefined reference to
> > `gdcm::Global::GetDicts()'
> > itkGDCMImageIO.cxx:(.text+0x33b3): undefined reference to
> > `gdcm::Dicts::GetPublicDict() const'
> > itkGDCMImageIO.cxx:(.text+0x34f3): undefined reference to
> > `gdcm::Tag::ReadFromPipeSeparatedString(char const*)'
> > itkGDCMImageIO.cxx:(.text+0x372d): undefined reference to
> > `gdcm::VR::IsVRFile() const'
> > itkGDCMImageIO.cxx:(.text+0x5ae9): undefined reference to
> > `gdcm::Writer::SetFileName(char const*)'
> > ../../bin/libITKIO.a(itkGDCMImageIO.o): In function
> > `itk::GDCMImageIO::GetLabelFromTag(std::basic_string<char,
> > std::char_traits<char>, std::allocator<char> > const&,
> > std::basic_string<char, std::char_traits<char>, std::allocator<char>
> >&)':
> > itkGDCMImageIO.cxx:(.text+0x6a77): undefined reference to
> > `gdcm::Tag::ReadFromPipeSeparatedString(char const*)'
> > itkGDCMImageIO.cxx:(.text+0x6aa0): undefined reference to
> > `gdcm::Global::GetInstance()'
> > itkGDCMImageIO.cxx:(.text+0x6ab0): undefined reference to
> > `gdcm::Global::GetDicts() const'
> > itkGDCMImageIO.cxx:(.text+0x6acc): undefined reference to
> > `gdcm::Dicts::GetDictEntry(gdcm::Tag const&, char const*) const'
> >
> >
> > I saw many ppl having this issue, so I wonder if I just have to
> surrender...
> > by the way, I'm on Arch linux 64 bits, and I cannot install libraries
> > because I need multiple versions of GDCM and VTK (I mean same version but
> > different options turned on :)
> > thanks
> > Marta
> >
> > _____________________________________
> > 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://www.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-users
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120314/87380d28/attachment.htm>


More information about the Insight-users mailing list