Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BRAINSTools does not build with ITK_LEGACY_REMOVE=ON #537

Open
dzenanz opened this issue Jan 24, 2025 · 0 comments
Open

BRAINSTools does not build with ITK_LEGACY_REMOVE=ON #537

dzenanz opened this issue Jan 24, 2025 · 0 comments

Comments

@dzenanz
Copy link
Contributor

dzenanz commented Jan 24, 2025

First few error messages encountered when building Slicer with ITK_LEGACY_REMOVE=ON:

------ Build started: Project: BRAINSCommonLib, Configuration: Debug x64 ------
BRAINSCommonLib.cxx
BRAINSComputeLabels.cxx
BRAINSFitHelper.cxx
BRAINSThreadControl.cxx
DWIMetaDataDictionaryValidator.cxx
ExtractSingleLargestRegion.cxx
GenericTransformImage.cxx
Slicer3LandmarkIO.cxx
Slicer3LandmarkWeightIO.cxx
M:\a\Sd\BRAINSTools\BRAINSCommonLib\itkIO.h(140,18): error C3083: 'SpatialOrientation': the symbol to the left of a '::' must be a type
(compiling source file '../BRAINSTools/BRAINSCommonLib/GenericTransformImage.cxx')
M:\a\Sd\BRAINSTools\BRAINSCommonLib\itkIO.h(140,38): error C2039: 'ValidCoordinateOrientationFlags': is not a member of 'slicer_itk'
(compiling source file '../BRAINSTools/BRAINSCommonLib/GenericTransformImage.cxx')
    M:\a\Sd\ITK\Modules\IO\GDCM\include\itkGDCMImageIO.h(43,11):
    see declaration of 'slicer_itk'
M:\a\Sd\BRAINSTools\BRAINSCommonLib\itkIO.h(140,38): error C2061: syntax error: identifier 'ValidCoordinateOrientationFlags'
(compiling source file '../BRAINSTools/BRAINSCommonLib/GenericTransformImage.cxx')
M:\a\Sd\BRAINSTools\BRAINSCommonLib\itkIO.h(172,60): error C3083: 'SpatialOrientation': the symbol to the left of a '::' must be a type
(compiling source file '../BRAINSTools/BRAINSCommonLib/GenericTransformImage.cxx')
M:\a\Sd\BRAINSTools\BRAINSCommonLib\itkIO.h(172,80): error C2039: 'ValidCoordinateOrientationFlags': is not a member of 'slicer_itk'
(compiling source file '../BRAINSTools/BRAINSCommonLib/GenericTransformImage.cxx')
    M:\a\Sd\ITK\Modules\IO\GDCM\include\itkGDCMImageIO.h(43,11):
    see declaration of 'slicer_itk'
M:\a\Sd\BRAINSTools\BRAINSCommonLib\itkIO.h(172,80): error C2061: syntax error: identifier 'ValidCoordinateOrientationFlags'
(compiling source file '../BRAINSTools/BRAINSCommonLib/GenericTransformImage.cxx')
M:\a\Sd\BRAINSTools\BRAINSCommonLib\itkIO.h(180,55): error C3083: 'SpatialOrientation': the symbol to the left of a '::' must be a type
(compiling source file '../BRAINSTools/BRAINSCommonLib/GenericTransformImage.cxx')
M:\a\Sd\BRAINSTools\BRAINSCommonLib\itkIO.h(180,75): error C2039: 'ValidCoordinateOrientationFlags': is not a member of 'slicer_itk'
(compiling source file '../BRAINSTools/BRAINSCommonLib/GenericTransformImage.cxx')
    M:\a\Sd\ITK\Modules\IO\GDCM\include\itkGDCMImageIO.h(43,11):
    see declaration of 'slicer_itk'
M:\a\Sd\BRAINSTools\BRAINSCommonLib\itkIO.h(180,75): error C2061: syntax error: identifier 'ValidCoordinateOrientationFlags'
(compiling source file '../BRAINSTools/BRAINSCommonLib/GenericTransformImage.cxx')
M:\a\Sd\BRAINSTools\BRAINSCommonLib\itkIO.h(140,18): error C3083: 'SpatialOrientation': the symbol to the left of a '::' must be a type
(compiling source file '../BRAINSTools/BRAINSCommonLib/BRAINSFitHelper.cxx')
M:\a\Sd\BRAINSTools\BRAINSCommonLib\itkIO.h(140,38): error C2039: 'ValidCoordinateOrientationFlags': is not a member of 'slicer_itk'
(compiling source file '../BRAINSTools/BRAINSCommonLib/BRAINSFitHelper.cxx')
    M:\a\Sd\ITK\Modules\IO\GDCM\include\itkGDCMImageIO.h(43,11):
    see declaration of 'slicer_itk'
M:\a\Sd\BRAINSTools\BRAINSCommonLib\itkIO.h(140,38): error C2061: syntax error: identifier 'ValidCoordinateOrientationFlags'
(compiling source file '../BRAINSTools/BRAINSCommonLib/BRAINSFitHelper.cxx')
M:\a\Sd\BRAINSTools\BRAINSCommonLib\itkIO.h(172,60): error C3083: 'SpatialOrientation': the symbol to the left of a '::' must be a type
(compiling source file '../BRAINSTools/BRAINSCommonLib/BRAINSFitHelper.cxx')
M:\a\Sd\BRAINSTools\BRAINSCommonLib\itkIO.h(172,80): error C2039: 'ValidCoordinateOrientationFlags': is not a member of 'slicer_itk'
(compiling source file '../BRAINSTools/BRAINSCommonLib/BRAINSFitHelper.cxx')
    M:\a\Sd\ITK\Modules\IO\GDCM\include\itkGDCMImageIO.h(43,11):
    see declaration of 'slicer_itk'
M:\a\Sd\BRAINSTools\BRAINSCommonLib\itkIO.h(172,80): error C2061: syntax error: identifier 'ValidCoordinateOrientationFlags'
(compiling source file '../BRAINSTools/BRAINSCommonLib/BRAINSFitHelper.cxx')
M:\a\Sd\BRAINSTools\BRAINSCommonLib\itkIO.h(180,55): error C3083: 'SpatialOrientation': the symbol to the left of a '::' must be a type
(compiling source file '../BRAINSTools/BRAINSCommonLib/BRAINSFitHelper.cxx')
M:\a\Sd\BRAINSTools\BRAINSCommonLib\itkIO.h(180,75): error C2039: 'ValidCoordinateOrientationFlags': is not a member of 'slicer_itk'
(compiling source file '../BRAINSTools/BRAINSCommonLib/BRAINSFitHelper.cxx')
    M:\a\Sd\ITK\Modules\IO\GDCM\include\itkGDCMImageIO.h(43,11):
    see declaration of 'slicer_itk'
M:\a\Sd\BRAINSTools\BRAINSCommonLib\itkIO.h(180,75): error C2061: syntax error: identifier 'ValidCoordinateOrientationFlags'
(compiling source file '../BRAINSTools/BRAINSCommonLib/BRAINSFitHelper.cxx')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant