Hello,

Do you have a specific version of SimpleITK and ITK and Xcode which cause this 
problem?

The current SimpleITK master with Xcode 7.3 seems ok to me.

Brad

On Aug 23, 2016, at 12:04 PM, K.K. Marstal 
<k.mars...@erasmusmc.nl<mailto:k.mars...@erasmusmc.nl>> wrote:

Hello,

As discussed in this gerrit ticket 
http://review.source.kitware.com/#/c/20900<http://review.source.kitware.com/#/c/20900/,>
 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.

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.

Kind Regards,
Kasper Marstal
_______________________________________________
Powered by www.kitware.com<http://www.kitware.com/>

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-developers
_______________________________________________
Community mailing list
commun...@itk.org<mailto:commun...@itk.org>
http://public.kitware.com/mailman/listinfo/community

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-developers

Reply via email to