[Insight-users] Wrapping

Neil Killeen Neil.Killeen@atnf.csiro.au
Tue, 28 Jan 2003 16:57:20 +1100 (EST)


OK, the gccxml patch worked but I continue to encounter many errors.


For example, in building the Wrapping directory, we encounter

#!/bin/csh
/usr/local/bin/cable \
/nfs/source/itk/InsightToolkit-1.0.0/Wrapping/Tcl/Algorithms/wrap_itkCurvatureFlowImageFilter.cxx \
-tcl wrap_itkCurvatureFlowImageFilter_tcl.cxx --gccxml-compiler g++-3.1.1 \
-I/nfs/source/itk/InsightToolkit-1.0.0/Wrapping/Tcl/Algorithms \
-I/nfs/source/itk/InsightToolkit-1.0.0/Code/Algorithms \
-I/nfs/source/itk/InsightToolkit-1.0.0/Code/BasicFilters \
-I/nfs/source/itk/InsightToolkit-1.0.0/Code/Common \
-I/nfs/source/itk/InsightToolkit-1.0.0/Code/Numerics \
-I/nfs/source/itk/InsightToolkit-1.0.0/Code/IO \
-I/nfs/source/itk/InsightToolkit-1.0.0/Code/Numerics/FEM \
-I/nfs/source/itk/InsightToolkit-1.0.0/Code/Numerics/Statistics \
-I/nfs/mid/NKILLEEN/itk/binary/sun4sol/Code/Numerics/vxl \
-I/nfs/source/itk/InsightToolkit-1.0.0/Code/Numerics/vxl \
-I/nfs/mid/NKILLEEN/itk/binary/sun4sol/Code/Numerics/vxl/vcl \
-I/nfs/source/itk/InsightToolkit-1.0.0/Code/Numerics/vxl/vcl \
-I/nfs/source/itk/InsightToolkit-1.0.0/Code/SpatialObject \
-I/nfs/source/itk/InsightToolkit-1.0.0/Utilities/png \
-I/nfs/source/itk/InsightToolkit-1.0.0/Utilities/zlib \
-I/nfs/source/itk/InsightToolkit-1.0.0/Utilities/MetaIO \
-I/nfs/mid/NKILLEEN/itk/binary/sun4sol -I/usr/local/include \
-I/usr/local/include/Cable \
-I/nfs/source/itk/InsightToolkit-1.0.0/Code/Numerics/vxl/vcl/doc \
-I/nfs/source/itk/InsightToolkit-1.0.0/Code/Numerics/vxl/vnl \
-I/nfs/source/itk/InsightToolkit-1.0.0/Wrapping/Tcl \
-I/nfs/source/itk/InsightToolkit-1.0.0/Wrapping/Tcl/Algorithms



which gives many errors starting with


In file included from
/nfs/source/itk/InsightToolkit-1.0.0/Code/Common/itkObject.h:23,                 from
/nfs/source/itk/InsightToolkit-1.0.0/Code/Common/itkDataObject.h:23,                 from
/nfs/source/itk/InsightToolkit-1.0.0/Code/Common/itkImageBase.h:23,                 from
/nfs/source/itk/InsightToolkit-1.0.0/Code/Common/itkImage.h:20,                 from
/nfs/source/itk/InsightToolkit-1.0.0/Wrapping/Tcl/Algorithms/wrap_itkCurvatureFlowImageFilter.cxx:17:
/nfs/source/itk/InsightToolkit-1.0.0/Code/Common/itkLightObject.h:22:20: iostream: No such file or directory
/nfs/source/itk/InsightToolkit-1.0.0/Code/Common/itkLightObject.h:23:20: typeinfo: No such file or directory


now if i force the above command to include -I statements which find
iostream.h this immediate problem is solved followed by other ones...


I am using the released versions  of the s/w

itk     1.0
cable   0.1.development
gccxml  0.4


cheers
Neil