[ITK] [ITK-dev] Problems with Change in itkStaticConstMacro

Bradley Lowekamp blowekamp at mail.nih.gov
Tue Jan 19 15:19:38 EST 2016


Hello,

My release builds for SimpleITK are having significant problems with the change done here [1] to the itkStaticConstMacro.

My builds on Redhat 5, with gcc 5.1, are filling my disk with errors along the following:

/scratch/dashboards/SimpleITK-RH5-i686-pkg/SimpleITK-build/ITK-prefix/include/ITK-4.9/itkImageToImageFilter.h: In instantiation of ‘const unsigned int itk::ImageToImageFilter<itk::Image<unsigned int, 2u>, itk::Image<float, 2u> >::OutputImageDimension’:
/scratch/dashboards/SimpleITK-RH5-i686-pkg/SimpleITK-build/ITK-prefix/include/ITK-4.9/itkImageToImageFilter.h:267:   instantiated from ‘itk::ImageToImageFilter<itk::Image<unsigned int, 2u>, itk::Image<float, 2u> >’
/scratch/dashboards/SimpleITK-RH5-i686-pkg/SimpleITK/Code/Explicit/include/sitkExplicitITKImageToImageFilter.h:259:   instantiated from here
/scratch/dashboards/SimpleITK-RH5-i686-pkg/SimpleITK-build/ITK-prefix/include/ITK-4.9/itkImageToImageFilter.h:267: error: explicit instantiation of ‘itk::ImageToImageFilter<itk::Image<unsigned int, 2u>, itk::Image<float, 2u> >::OutputImageDimension’ but no definition available

Reverting the change enables SimpleITK explicit instantiation to work with this compiler.

I’ll look into alternatives...

Brad

[1] https://github.com/InsightSoftwareConsortium/ITK/commit/a5aeef59cbbcb3cb136adbe9d450155ede4c8cac
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20160119/a6aac601/attachment.html>
-------------- next part --------------
_______________________________________________
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


More information about the Community mailing list