<div dir="ltr">Hi Neils,<div><br></div><div>Yes, name mangling for nifti is welcome. Please contribute the patch as described here:</div><div><br></div><div>  <a href="https://itk.org/Wiki/ITK/Git/Develop">https://itk.org/Wiki/ITK/Git/Develop</a></div><div><br></div><div>and let us know if you have any questions.</div><div><br></div><div>Thanks,</div><div>Matt</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 15, 2017 at 6:06 AM, Niels Dekker <span dir="ltr"><<a href="mailto:niels-xtk@xs4all.nl" target="_blank">niels-xtk@xs4all.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Our project links to both ITK and the NiftyReg library (*), and thereby indirectly to two different versions of the niftilib library that have the same binary interface. To avoid potential link errors and unexpected run-time behavior, could there be name mangling added to ITK's niftilib version, at Modules/ThirdParty/NIFTI/src/n<wbr>ifty/niftilib?<br>
<br>
We would suggest an approach according to the existing ITK third party name mangling practice, e.g., by "itk_png_mangle.h", and "itk_zlib_mangle.h".<br>
<br>
We already have a patch for ITK within our project, SuperElastix, at <a href="https://raw.githubusercontent.com/SuperElastix/SuperElastix/c94d65bef1b0fe368b194bbf4de8ccd505a873b0/SuperBuild/Patches/itk_nifti_mangle.patch" rel="noreferrer" target="_blank">https://raw.githubusercontent.<wbr>com/SuperElastix/SuperElastix/<wbr>c94d65bef1b0fe368b194bbf4de8cc<wbr>d505a873b0/SuperBuild/Patches/<wbr>itk_nifti_mangle.patch</a><br>
<br>
Kind regards, also on behalf of Floris Berendsen,<br>
<br>
  Niels<br>
<br>
(*) The NiftyReg library is from <a href="https://cmiclab.cs.ucl.ac.uk/mmodat/niftyreg" rel="noreferrer" target="_blank">https://cmiclab.cs.ucl.ac.uk/m<wbr>modat/niftyreg</a><br>
<br>
-- <br>
Niels Dekker<br>
Scientific programmer<br>
LKEB, Leiden University Medical Center, Netherlands<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://kitware.com/products/protraining.php" rel="noreferrer" target="_blank">http://kitware.com/products/pr<wbr>otraining.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" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_FA<wbr>Q</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/insight-developer<wbr>s</a><br>
</blockquote></div><br></div>