Hi!<br>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). <br>I'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*)':<br>itkGDCMImageIO.cxx:(.text+0x136a): undefined reference to `gdcm::Reader::SetFileName(char const*)'<br>
../../bin/libITKIO.a(itkGDCMImageIO.o): In function `itk::GDCMImageIO::Read(void*)':<br>itkGDCMImageIO.cxx:(.text+0x14a8): undefined reference to `gdcm::Reader::SetFileName(char const*)'<br>itkGDCMImageIO.cxx:(.text+0x18a0): undefined reference to `gdcm::Unpacker12Bits::Unpack(char*, char const*, unsigned long)'<br>
../../bin/libITKIO.a(itkGDCMImageIO.o): In function `itk::GDCMImageIO::InternalReadImageInformation(std::basic_ifstream<char, std::char_traits<char> >&)':<br>itkGDCMImageIO.cxx:(.text+0x1e8d): undefined reference to `gdcm::Reader::SetFileName(char const*)'<br>
../../bin/libITKIO.a(itkGDCMImageIO.o): In function `itk::GDCMImageIO::Write(void const*)':<br>itkGDCMImageIO.cxx:(.text+0x32e1): undefined reference to `gdcm::FileMetaInformation::AppendImplementationClassUID(char const*)'<br>
itkGDCMImageIO.cxx:(.text+0x3364): undefined reference to `gdcm::FileMetaInformation::SetSourceApplicationEntityTitle(char const*)'<br>itkGDCMImageIO.cxx:(.text+0x3393): undefined reference to `gdcm::Global::GetInstance()'<br>
itkGDCMImageIO.cxx:(.text+0x33a3): undefined reference to `gdcm::Global::GetDicts()'<br>itkGDCMImageIO.cxx:(.text+0x33b3): undefined reference to `gdcm::Dicts::GetPublicDict() const'<br>itkGDCMImageIO.cxx:(.text+0x34f3): undefined reference to `gdcm::Tag::ReadFromPipeSeparatedString(char const*)'<br>
itkGDCMImageIO.cxx:(.text+0x372d): undefined reference to `gdcm::VR::IsVRFile() const'<br>itkGDCMImageIO.cxx:(.text+0x5ae9): undefined reference to `gdcm::Writer::SetFileName(char const*)'<br>../../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> >&)':<br>
itkGDCMImageIO.cxx:(.text+0x6a77): undefined reference to `gdcm::Tag::ReadFromPipeSeparatedString(char const*)'<br>itkGDCMImageIO.cxx:(.text+0x6aa0): undefined reference to `gdcm::Global::GetInstance()'<br>itkGDCMImageIO.cxx:(.text+0x6ab0): undefined reference to `gdcm::Global::GetDicts() const'<br>
itkGDCMImageIO.cxx:(.text+0x6acc): undefined reference to `gdcm::Dicts::GetDictEntry(gdcm::Tag const&, char const*) const'<br><br><br>I saw many ppl having this issue, so I wonder if I just have to surrender...<br>
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 :)<br>thanks<br>Marta<br>