Hi!<br>I&#39;m in need of having the version of ITK/VTK/GDCM mentioned in the subject communicating together for one project. I&#39;m stuck with ITK and VTK versions (i.e. canNOT modify them). <br>I&#39;d love to have GDCM 2 though instead of GDCM 1. <br>

<br>I can successfully configure VTK5.6 + GDCM 2.2 and runs beautifully. <br>I am not able to add ITK though. <br><br>at first I had the vtkmetaio error, which I solved with this: <br><br>now, I set ITK_USE_SYSTEM_GDCM and make sure to link to correct folders. I can configure, but cannot compile.....<br>

first line of make: <br><br>../../bin/libITKIO.a(itkGDCMImageIO.o): In function `itk::GDCMImageIO::CanReadFile(char const*)&#39;:<br>itkGDCMImageIO.cxx:(.text+0x136a): undefined reference to `gdcm::Reader::SetFileName(char const*)&#39;<br>

../../bin/libITKIO.a(itkGDCMImageIO.o): In function `itk::GDCMImageIO::Read(void*)&#39;:<br>itkGDCMImageIO.cxx:(.text+0x14a8): undefined reference to `gdcm::Reader::SetFileName(char const*)&#39;<br>itkGDCMImageIO.cxx:(.text+0x18a0): undefined reference to `gdcm::Unpacker12Bits::Unpack(char*, char const*, unsigned long)&#39;<br>

../../bin/libITKIO.a(itkGDCMImageIO.o): In function `itk::GDCMImageIO::InternalReadImageInformation(std::basic_ifstream&lt;char, std::char_traits&lt;char&gt; &gt;&amp;)&#39;:<br>itkGDCMImageIO.cxx:(.text+0x1e8d): undefined reference to `gdcm::Reader::SetFileName(char const*)&#39;<br>

../../bin/libITKIO.a(itkGDCMImageIO.o): In function `itk::GDCMImageIO::Write(void const*)&#39;:<br>itkGDCMImageIO.cxx:(.text+0x32e1): undefined reference to `gdcm::FileMetaInformation::AppendImplementationClassUID(char const*)&#39;<br>

itkGDCMImageIO.cxx:(.text+0x3364): undefined reference to `gdcm::FileMetaInformation::SetSourceApplicationEntityTitle(char const*)&#39;<br>itkGDCMImageIO.cxx:(.text+0x3393): undefined reference to `gdcm::Global::GetInstance()&#39;<br>

itkGDCMImageIO.cxx:(.text+0x33a3): undefined reference to `gdcm::Global::GetDicts()&#39;<br>itkGDCMImageIO.cxx:(.text+0x33b3): undefined reference to `gdcm::Dicts::GetPublicDict() const&#39;<br>itkGDCMImageIO.cxx:(.text+0x34f3): undefined reference to `gdcm::Tag::ReadFromPipeSeparatedString(char const*)&#39;<br>

itkGDCMImageIO.cxx:(.text+0x372d): undefined reference to `gdcm::VR::IsVRFile() const&#39;<br>itkGDCMImageIO.cxx:(.text+0x5ae9): undefined reference to `gdcm::Writer::SetFileName(char const*)&#39;<br>../../bin/libITKIO.a(itkGDCMImageIO.o): In function `itk::GDCMImageIO::GetLabelFromTag(std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt; const&amp;, std::basic_string&lt;char, std::char_traits&lt;char&gt;, std::allocator&lt;char&gt; &gt;&amp;)&#39;:<br>

itkGDCMImageIO.cxx:(.text+0x6a77): undefined reference to `gdcm::Tag::ReadFromPipeSeparatedString(char const*)&#39;<br>itkGDCMImageIO.cxx:(.text+0x6aa0): undefined reference to `gdcm::Global::GetInstance()&#39;<br>itkGDCMImageIO.cxx:(.text+0x6ab0): undefined reference to `gdcm::Global::GetDicts() const&#39;<br>

itkGDCMImageIO.cxx:(.text+0x6acc): undefined reference to `gdcm::Dicts::GetDictEntry(gdcm::Tag const&amp;, char const*) const&#39;<br><br><br>I saw many ppl having this issue, so I wonder if I just have to surrender...<br>

by the way, I&#39;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 :)<br>thanks<br>Marta<br>