Skip to content

Commit

Permalink
COMP: Use both template parameters for ShapeLabelMapFilter wrapping
Browse files Browse the repository at this point in the history
To address on ARM Linux wrapping:

FAILED: Wrapping/Modules/ITKLabelMap/itkStatisticsLabelMapFilterPython.cpp Wrapping/Generators/Python/itk/itkStatisticsLabelMapFilterPython.py /work/ITK-cp310-cp310-manylinux_2_28_aarch64/Wrapping/Modules/ITKLabelMap/itkStatisticsLabelMapFilterPython.cpp /work/ITK-cp310-cp310-manylinux_2_28_aarch64/Wrapping/Generators/Python/itk/itkStatisticsLabelMapFilterPython.py
cd /work/ITK-cp310-cp310-manylinux_2_28_aarch64/Wrapping/Typedefs/python && /work/ITK-cp310-cp310-manylinux_2_28_aarch64/Wrapping/Generators/SwigInterface/swiglinux-arm64-2024-03-26-master/bin/swig -c++ -python -fastdispatch -fvirtual -features autodoc=2 -doxygen -Werror -w302 -w303 -w312 -w314 -w361 -w362 -w350 -w383 -w384 -w389 -w394 -w395 -w467 -w508 -w509 -o /work/ITK-cp310-cp310-manylinux_2_28_aarch64/Wrapping/Modules/ITKLabelMap/itkStatisticsLabelMapFilterPython.cpp -I/work/ITK-cp310-cp310-manylinux_2_28_aarch64/Wrapping/Generators/SwigInterface/swiglinux-arm64-2024-03-26-master/share/swig/4.3.0/python -I/work/ITK-cp310-cp310-manylinux_2_28_aarch64/Wrapping/Generators/SwigInterface/swiglinux-arm64-2024-03-26-master/share/swig/4.3.0 -I/work/ITK-source/ITK/Wrapping/Generators -I/work/ITK-cp310-cp310-manylinux_2_28_aarch64/Wrapping/Typedefs/python -I/work/ITK-cp310-cp310-manylinux_2_28_aarch64/Wrapping/Typedefs -outdir /work/ITK-cp310-cp310-manylinux_2_28_aarch64/Wrapping/Generators/Python/itk /work/ITK-cp310-cp310-manylinux_2_28_aarch64/Wrapping/Typedefs/itkStatisticsLabelMapFilter.i
/work/ITK-cp310-cp310-manylinux_2_28_aarch64/Wrapping/Typedefs/itkStatisticsLabelMapFilter.i:87: Warning 401: Nothing known about base class 'itk::ShapeLabelMapFilter< itk::LabelMap< itk::StatisticsLabelObject< unsigned long,2 > >,itk::Image< unsigned long > >'. Ignored.
  • Loading branch information
thewtex committed Apr 11, 2024
1 parent 44f3dc9 commit b61d4ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
itk_wrap_class("itk::ShapeLabelMapFilter" POINTER)
itk_wrap_filter_dims(restricted_dims 2+)
foreach(d ${restricted_dims})
itk_wrap_template("${ITKM_LM${d}}" "${ITKT_LM${d}}")
itk_wrap_template("${ITKM_LM${d}}${ITKM_IUL${d}}" "${ITKT_LM${d}}, ${ITKT_IUL${d}}")
endforeach()
itk_end_wrap_class()

0 comments on commit b61d4ed

Please sign in to comment.