<div dir="ltr"><div><div><div><div><div>Hi there,<br></div>anybody, please?<br><br></div>I know ITK 3.x is no longer under active development since quite some time, and we should all switch to ITK 4.<br><br></div>However, I would say that this issue has to do more with CMake and the GDCM version bundled with ITK.<br>
<br></div>Thanks again.<br></div>JON HAITZ<br><div><div><div><div><div><div><div><div><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Jon Haitz Legarreta</b> <span dir="ltr"><<a href="mailto:jhlegarreta@vicomtech.org">jhlegarreta@vicomtech.org</a>></span><br>
Date: 15 February 2013 12:04<br>Subject: [ITK] [GDCM] GDCM 2.x and ITK 3.x issues in nighlty builds<br>To: Insight-users <<a href="mailto:insight-users@itk.org">insight-users@itk.org</a>><br><br><br><div dir="ltr"><div>
<div><div>Hi there,<br>I am having some issues concerning the GDCM version ITK is using for some nightly builds we have.<br></div><br>The
thing is that some of the examples we have need GDCM 2.x. For local
compilation purposes, we are using ITK 4.x, or either we have set the
ITK CMake to an external GDCM 2.x with the ITK_USE_SYSTEM_GDCM flag.<br>
<br></div>However, we are using ITK 3.x for some of the automatic compilations. And we would like to keep the default GDCM versions.<br><br></div>Thus, the examples that need GDCM 2.x fail to compile in our nightly bulds.<br>
<div>
<br>I guess setting a #if GDCM_MAJOR_VERSION >= 2 #endif guard in all files of these examples is not a smart solution.<br>
<br>
The solution would be to explicit in the examples' CMakeLists to compile
the examples' only if GDCM_MAJOR_VERSION >= 2. However, AFAIK ITK does not
propagate the GDCM version, and thus, we have no way to know which GDCM version is using ITK in some project using ITK.        <br></div><div><br>Am I missing something or is there any workaround?<br></div><div><br></div><div>Thanks,<br>
JON HAITZ</div>
<table align="center" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td></td></tr><tr><td><table align="center" border="0" cellpadding="0"><tbody><tr><td><br></td></tr></tbody></table></td></tr></tbody></table><br>
</div>
</div><br></div></div></div></div></div></div></div></div></div>