<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Segoe UI";
panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
mso-fareast-language:EN-US;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="NL" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Dear ITK community,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">First of all: you’re doing a great job developing and maintaining ITK!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Since I’m working with 4D (3D+time, from DCE-MRI) DICOM files, I’d like to use ITK with the latest GDCM release. (The release notes for GDCM 2.2.4 indicate ‘<i>Better support for Time Series stored in Enhanced MR Image
Storage</i>’, which seems to be exactly what I need.) ITK’s default DICOM reader (GDCM 1.2??), doesn’t handle these files properly: it complains about 0-spacing which is not supported. (It is true that consecutive slices have 0 spacing in z, they belong to
different time points. I’m not sure how common this kind of sorting (time before z) actually is…)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I’ve obtained ITK using git clone and checked out to the release branch, as suggested
<a href="http://www.itk.org/Wiki/ITK/Git/Download">here</a>, so I guess I’m using ITK v4.7rc02. I’ve obtained GDCM in a similar fashion (cloned from git://git.code.sf.net/p/gdcm/gdcm and checked out to release). Then I built GDCM and ITK setting the ITK_USE_SYSTEM_GDCM
flag ON and providing the GDCM_DIR (CMake 3.2.0-rc2, Visual Studio 2012, Win7 x64). Both GDCM and ITK compiled without errors. However, once I try to build one of my ITK-based projects (solutions), I get link errors, e.g. (full output in attached VSoutput.txt):<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas;color:#1E1E1E;background:white;mso-highlight:white">1>ITKIOGDCM-4.7.lib(itkGDCMImageIO.obj) : error LNK2019: unresolved external symbol "public: static char const * __cdecl
gdcm::System::GetLastSystemError(void)" (?GetLastSystemError@System@gdcm@@SAPEBDXZ) referenced in function "public: __cdecl gdcm::ByteValue::ByteValue(char const *,class gdcm::VL const &)" (??0ByteValue@gdcm@@QEAA@PEBDAEBVVL@1@@Z)</span><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas;color:#1E1E1E"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas;color:#1E1E1E;background:white;mso-highlight:white">1>gdcmMSFF.lib(gdcmImageHelper.obj) : error LNK2001: unresolved external symbol "public: static char const * __cdecl gdcm::VR::GetVRString(enum
gdcm::VR::VRType)" (?GetVRString@VR@gdcm@@SAPEBDW4VRType@12@@Z)</span><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas;color:#1E1E1E"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I’ve also attached CMakeLists.txt and CMakeCache.txt of my project. It seems to me that the compiler should be able to find the libraries, and I think it does, since the GDCM bin directory is listed in the linker’s ‘Additional
Library Directories’ (VS, Project, Properties, Configuration Properties, Linker).
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">What did I miss? In an earlier attempt to deal with these files I’ve successfully linked DCMTK to ITK in a similar fashion, which did work. (FYI: Unfortunately DCMTK doesn’t handle these files properly, it stacks all
the slices in z as if they belong to a single time point. I could try to work from there, try to separate them according to some DICOM tag, but I decided to try the latest GDCM first.)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Many thanks in advance!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Kind regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-family:"Segoe UI","sans-serif";color:#00539F;mso-fareast-language:NL">Mike van Rijssel</span></b><span lang="EN-US" style="font-family:"Segoe UI","sans-serif";color:black;mso-fareast-language:NL"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:NL"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:NL"><img border="0" width="155" height="60" id="Afbeelding_x0020_2" src="cid:image001.jpg@01D0899E.7B9EFF00" alt="Beschrijving: cid:EEA90C32-0871-49FB-AB50-67779C278527@ds.umcutrecht.nl"></span><span lang="EN-US" style="mso-fareast-language:NL"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Segoe UI","sans-serif";color:black;mso-fareast-language:NL"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Segoe UI","sans-serif";color:black;mso-fareast-language:NL">PhD Candidate | Department of Radiology | Image Sciences Institute & 7T MR group | Office E 02.554<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Segoe UI","sans-serif";color:black;mso-fareast-language:NL">Univer</span><span style="font-size:9.0pt;font-family:"Segoe UI","sans-serif";color:black;mso-fareast-language:NL">sitair
Medisch Centrum Utrecht | Heidelberglaan 100 | Mail Room Q 02.445 | 3584CX UTRECHT<br>
T +31 (0)88 75 67761 | E <a href="mailto:mike@isi.uu.nl">mike@isi.uu.nl</a> | <a href="http://www.umcutrecht.nl/" target="_blank">
<span style="color:black;text-decoration:none">www.umcutrecht.nl</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<hr>
<p><font size="-2" face="arial" color="black"><i>
De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is
uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onterecht
ontvangt, wordt u verzocht de inhoud niet te gebruiken en de afzender direct
te informeren door het bericht te retourneren. Het Universitair Medisch
Centrum Utrecht is een publiekrechtelijke rechtspersoon in de zin van de W.H.W.
(Wet Hoger Onderwijs en Wetenschappelijk Onderzoek) en staat geregistreerd bij
de Kamer van Koophandel voor Midden-Nederland onder nr. 30244197.
</i></font></p>
<p><font size="-2" face="arial" color="green"><i>
Denk s.v.p aan het milieu voor u deze e-mail afdrukt.
</i></font></p>
<hr>
<p><font size="-2" face="arial" color="black"><i>
This message may contain confidential information and is intended
exclusively for the addressee. If you receive this message
unintentionally, please do not use the contents but notify the sender
immediately by return e-mail. University Medical Center Utrecht is a legal
person by public law and is registered at the Chamber of Commerce for
Midden-Nederland under no. 30244197.
</i></font></p>
<p><font size="-2" face="arial" color="green"><i>
Please consider the environment before printing this e-mail.
</i></font></p>
</body>
</html>