This error message is suppose to be an improvement from the default to indicate why the code/filter does not work with the template parameters you selected.
Here is the key part: > itk::Concept::IsFloatingPoint<short int>::Constraints::False This a a concept check to verify the template parameter is a floating point type which is required by the algorithm/filter/code. The type “short int” is not a floating point type, so it generates a compilation error. I have no clue what is causing it, as you didn’t include any code :) If you look at the all error messages it should indicate the origin of the error. Most likely the cause is: you provided a "short" type for a template parameter (or image type) to a filter or algorithm which requires a floating point type. HTH, Brad > On Dec 14, 2016, at 8:56 AM, Nico Del Piano <ndel...@gmail.com> wrote: > > Hello ITK community, > > I'm struggling with an error and I don't understand why it's happening: > > > /usr/local/include/ITK-4.11/itkConceptChecking.h:796:28: error: > conversion from ‘itk::Concept::IsFloatingPoint<short > int>::Constraints::FalseT {aka > itk::Concept::Detail::UniqueType_bool<false>}’ to non-scalar type > ‘itk::Concept::IsFloatingPoint<short int>::Constraints::IntegralT {aka > itk::Concept::Detail::UniqueType_bool<true>}’ requested > IntegralT a = FalseT(); > ^ > /usr/local/include/ITK-4.11/itkConceptChecking.h:797:28: error: > conversion from ‘itk::Concept::IsFloatingPoint<short > int>::Constraints::FalseT {aka > itk::Concept::Detail::UniqueType_bool<false>}’ to non-scalar type > ‘itk::Concept::IsFloatingPoint<short int>::Constraints::ExactT {aka > itk::Concept::Detail::UniqueType_bool<true>}’ requested > ExactT b = FalseT(); > > > Any hint of what could be causing this? If you need the whole error I > can paste it. > > Thanks, > > Nico. > _____________________________________ > 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://www.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-users _______________________________________________ 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