<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hello,
<div><br>
</div>
<div>As discussed in this gerrit ticket <a href="http://review.source.kitware.com/#/c/20900/," target="_blank" style="font-size: 10pt;">http://review.source.kitware.com/#/c/20900</a> the recent change to itkGetStaticConstMacro hides the ImageBase::ImageDimension
 symbol for linking in some cases. While the problem seemed to have been solved in that particular case, I am getting the same error compiling SimpleITK and linking against the Python wrapper on Mac OS X with GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)
 compiler. </div>
<div><br>
</div>
<div>The issue is fixed if I change line 780 of itkMacro.h "itkStaticConstMacro(name,type,value) static ITK_CONSTEXPR type name = value" back the version of itk 4.8.2, namely "#define itkStaticConstMacro(name, type, value) enum { name = value }". To clarify,
 the problem seem to be with ITK, not with SimpleITK.</div>
<div><br>
</div>
<div>Kind Regards,</div>
<div>Kasper Marstal</div>
</div>
</body>
</html>