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
_______________________________________________
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