Hi everyone!
I’m trying to run my code by ITK newest version 5. But I got this error. Can you help me fix it?
/home/itkReadParameters.h: In instantiation of ‘class itk::RegistrationParameters<3>’:
/home/DeformableRegistration.h:140:60: required from ‘class itk::DeformableRegistration<short int, 3>’
/home/BSplineRegistration.cxx:251:72: required from here
/opt/InsightToolkit-5.0.1/Modules/Core/Common/include/itkMacro.h:359:15: error: ‘const char* itk::RegistrationParameters<ImageDimension>::GetNameOfClass() const [with unsigned int ImageDimension = 3]’ marked ‘override’, but does not override
const char *GetNameOfClass() const override \
^
/home/sbin/itkReadParameters.h:187:3: note: in expansion of macro ‘itkTypeMacro’
itkTypeMacro(RegistrationParameters, None);
Thanks!