acil-bwh / ChestImagingPlatform

Chest Imaging Platform (CIP)
Other
55 stars 34 forks source link

COMP: fix namespace for new itk #31

Closed pieper closed 4 years ago

pieper commented 4 years ago

Fixes this compile error with the suggested change.

91%] Building CXX object CommandLineTools/SegmentLungAirways/CMakeFiles/SegmentLungAirwaysLib.dir/SegmentLungAirways.cxx.o /Users/pieper/slicer/latest/SlicerCIP-build/CIP/CommandLineTools/SegmentLungAirways/SegmentLungAirways.cxx:1835:28: error: no member named 'PACK' in 'itk::MergeLabelMapFilter<itk::LabelMap<itk::ShapeLabelObject<unsigned long, 3> > >'; did you mean 'itk::PACK'? mergeFilter->SetMethod(MergeFilterType::PACK); ^~~~~ itk::PACK /s/ITK/Modules/Filtering/LabelMap/include/itkMergeLabelMapFilter.h:61:35: note: 'itk::PACK' declared here static constexpr ChoiceMethodEnum PACK = ChoiceMethodEnum::PACK; ^ 1 error generated.

pieper commented 4 years ago

Note this issue is breaking the nightly extension build: http://slicer.cdash.org/viewBuildError.php?buildid=1933411