Hi Kent!<br>thanks for answering...<br>I finally manage to solve my problem (installing GDCM actually made the gdcm symbols export possible --> compiled) and it works beautifully :)<br><br>AFAIK, DCMTK does not have DICOMRT support yet...although I read they're going to implement it soon. <br>
Marta<br><br><div class="gmail_quote">On 13 March 2012 18:25, Kent Williams <span dir="ltr"><<a href="mailto:nkwmailinglists@gmail.com">nkwmailinglists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I should also mention that sometime after ITK 4.1 the GDCM support<br>
will be deprecated, and ITK will be using DCMTK instead. There are<br>
some technical and maintenance reasons for this, but it wouldn't hurt<br>
if you're serious about DICOM, it would be a good thing to get DCMTK<br>
and learn to use it.<br>
<div class="im HOEnZb"><br>
On Tue, Mar 13, 2012 at 11:54 AM, Marta Peroni <<a href="mailto:m.peroni@gmail.com">m.peroni@gmail.com</a>> wrote:<br>
</div><div class="HOEnZb"><div class="h5">> Hi!<br>
> I'm in need of having the version of ITK/VTK/GDCM mentioned in the subject<br>
> communicating together for one project. I'm stuck with ITK and VTK versions<br>
> (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<br>
> can configure, but cannot compile.....<br>
> first line of make:<br>
><br>
> ../../bin/libITKIO.a(itkGDCMImageIO.o): In function<br>
> `itk::GDCMImageIO::CanReadFile(char const*)':<br>
> itkGDCMImageIO.cxx:(.text+0x136a): undefined reference to<br>
> `gdcm::Reader::SetFileName(char const*)'<br>
> ../../bin/libITKIO.a(itkGDCMImageIO.o): In function<br>
> `itk::GDCMImageIO::Read(void*)':<br>
> itkGDCMImageIO.cxx:(.text+0x14a8): undefined reference to<br>
> `gdcm::Reader::SetFileName(char const*)'<br>
> itkGDCMImageIO.cxx:(.text+0x18a0): undefined reference to<br>
> `gdcm::Unpacker12Bits::Unpack(char*, char const*, unsigned long)'<br>
> ../../bin/libITKIO.a(itkGDCMImageIO.o): In function<br>
> `itk::GDCMImageIO::InternalReadImageInformation(std::basic_ifstream<char,<br>
> std::char_traits<char> >&)':<br>
> itkGDCMImageIO.cxx:(.text+0x1e8d): undefined reference to<br>
> `gdcm::Reader::SetFileName(char const*)'<br>
> ../../bin/libITKIO.a(itkGDCMImageIO.o): In function<br>
> `itk::GDCMImageIO::Write(void const*)':<br>
> itkGDCMImageIO.cxx:(.text+0x32e1): undefined reference to<br>
> `gdcm::FileMetaInformation::AppendImplementationClassUID(char const*)'<br>
> itkGDCMImageIO.cxx:(.text+0x3364): undefined reference to<br>
> `gdcm::FileMetaInformation::SetSourceApplicationEntityTitle(char const*)'<br>
> itkGDCMImageIO.cxx:(.text+0x3393): undefined reference to<br>
> `gdcm::Global::GetInstance()'<br>
> itkGDCMImageIO.cxx:(.text+0x33a3): undefined reference to<br>
> `gdcm::Global::GetDicts()'<br>
> itkGDCMImageIO.cxx:(.text+0x33b3): undefined reference to<br>
> `gdcm::Dicts::GetPublicDict() const'<br>
> itkGDCMImageIO.cxx:(.text+0x34f3): undefined reference to<br>
> `gdcm::Tag::ReadFromPipeSeparatedString(char const*)'<br>
> itkGDCMImageIO.cxx:(.text+0x372d): undefined reference to<br>
> `gdcm::VR::IsVRFile() const'<br>
> itkGDCMImageIO.cxx:(.text+0x5ae9): undefined reference to<br>
> `gdcm::Writer::SetFileName(char const*)'<br>
> ../../bin/libITKIO.a(itkGDCMImageIO.o): In function<br>
> `itk::GDCMImageIO::GetLabelFromTag(std::basic_string<char,<br>
> std::char_traits<char>, std::allocator<char> > const&,<br>
> std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':<br>
> itkGDCMImageIO.cxx:(.text+0x6a77): undefined reference to<br>
> `gdcm::Tag::ReadFromPipeSeparatedString(char const*)'<br>
> itkGDCMImageIO.cxx:(.text+0x6aa0): undefined reference to<br>
> `gdcm::Global::GetInstance()'<br>
> itkGDCMImageIO.cxx:(.text+0x6ab0): undefined reference to<br>
> `gdcm::Global::GetDicts() const'<br>
> itkGDCMImageIO.cxx:(.text+0x6acc): undefined reference to<br>
> `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<br>
> because I need multiple versions of GDCM and VTK (I mean same version but<br>
> different options turned on :)<br>
> thanks<br>
> Marta<br>
><br>
</div></div><div class="HOEnZb"><div class="h5">> _____________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Kitware offers ITK Training Courses, for more information visit:<br>
> <a href="http://www.kitware.com/products/protraining.php" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
><br>
> Please keep messages on-topic and check the ITK FAQ at:<br>
> <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
><br>
</div></div></blockquote></div><br>