Hi,
I have been trying to compile SimpleITK, the source code pulled from the Git repository. The build stops at about 58% with the following:-
In file included from /opt/SimpleITK/Code/Common/src/sitkTransform.cxx:20:
/opt/SimpleITK/Code/Common/src/sitkPimpleTransform.hxx:152:51: error: no type named ‘TransformCategoryEnum’ in ‘itk::TransformBaseTemplate’; did you mean ‘TransformCategoryType’?
typedef itk::TransformBaseTemplate::TransformCategoryEnum TransformCategoryEnum;
~~~~~~~~~~~~~~~~^
TransformCategoryType
/usr/local/include/ITK-5.0/itkTransformBase.h:124:5: note: ‘TransformCategoryType’ declared here
} TransformCategoryType;
^
[ 17%] Generating include/sitkLevelSetMotionRegistrationFilter.h
In file included from /opt/SimpleITK/Code/Common/src/sitkBSplineTransform.cxx:19:
/opt/SimpleITK/Code/Common/src/sitkPimpleTransform.hxx:152:51: error: no type named ‘TransformCategoryEnum’ in ‘itk::TransformBaseTemplate’; did you mean ‘TransformCategoryType’?
typedef itk::TransformBaseTemplate::TransformCategoryEnum TransformCategoryEnum;
~~~~~~~~~~~~~~~~^
TransformCategoryType
/usr/local/include/ITK-5.0/itkTransformBase.h:124:5: note: ‘TransformCategoryType’ declared here
} TransformCategoryType;
^
In file included from /opt/SimpleITK/Code/Common/src/sitkDisplacementFieldTransform.cxx:34:
/opt/SimpleITK/Code/Common/src/sitkPimpleTransform.hxx:152:51: error: no type named ‘TransformCategoryEnum’ in ‘itk::TransformBaseTemplate’; did you mean ‘TransformCategoryType’?
typedef itk::TransformBaseTemplate::TransformCategoryEnum TransformCategoryEnum;
~~~~~~~~~~~~~~~~^
TransformCategoryType
/usr/local/include/ITK-5.0/itkTransformBase.h:124:5: note: ‘TransformCategoryType’ declared here
} TransformCategoryType;
I am completely stumped as to how to work around this. I am building against ITK-5.0 (On MacOS 10.15), I think that I have all the relevant ITK modules installed, but cannot seem to get past this build error.
Does anyone have any pointers?
Best regards, Nick