Skip to content

Commit 1d54a9e

Browse files
committed
BUG: Fix castxml header resolution for itk::bio namespace classes
The ITK wrapping machinery derives include filenames from the class name by stripping all but the leaf name: itk::bio::CellularAggregate -> itkCellularAggregate.h. The actual headers use the Bio prefix (itkBioCellularAggregate.h), causing castxml to abort with "file not found". Add explicit itk_wrap_include() directives so the generated castxml input files include the correct headers. Generative AI was used to diagnose and recommend this solution.
1 parent 3c7010a commit 1d54a9e

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

wrapping/itkBioCellularAggregate.wrap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
itk_wrap_include("itkBioCellularAggregate.h")
12
itk_wrap_class("itk::bio::CellularAggregate" POINTER)
23
itk_wrap_template("2" "2")
34
itk_wrap_template("3" "3")
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
itk_wrap_include("itkBioCellularAggregateBase.h")
12
itk_wrap_class("itk::bio::CellularAggregateBase" POINTER)
23
itk_end_wrap_class()

0 commit comments

Comments
 (0)