[Insight-users] cableswig segfault with SegmentationLevelSetFunction

Gaetan Lehmann gaetan.lehmann at jouy.inra.fr
Fri Jun 2 11:29:31 EDT 2006


Hi Brad,

I'm trying to wrap more level set related classes, but I have a problem:  
cableswig segfault while processing the SegmentationLevelSetFunction class  
(see error message below).
All the filters which are using this class produce the same error.
I'm using gcc 4.0.2 with linux, I have tried both ITK and cableswig 2.6.0  
and cvs, and I have tried with Tcl, Java and Python.
The wrapper file is attached.

Any idea of what is going wrong ?

Thanks,

Gaetan

Generating wrap_itkSegmentationLevelSetFunctionJava.cxx
/bin/sh: line 1:  4429 Erreur de segmentation  (core dumped)  
/usr/bin/cswig  
-l/home/glehmann/src/contrib-itk/WrapITK-unstable/build/SWIG/LevelSet.swg  
-l/home/glehmann/src/contrib-itk/WrapITK-unstable/build/SWIG/itk.swg  
-l/home/glehmann/src/contrib-itk/WrapITK-unstable/build/SWIG/BaseNumerics.swg  
-l/home/glehmann/src/contrib-itk/WrapITK-unstable/build/SWIG/Base.swg  
-I/usr/lib/CableSwig/SWIG/Lib -w362 -w389 -w467 -w503 -w508 -w509 -w516  
-noruntime -Cindex  
/home/glehmann/src/contrib-itk/WrapITK-unstable/build/ClassIndex/Base.mdx  
-Cindex  
/home/glehmann/src/contrib-itk/WrapITK-unstable/build/ClassIndex/BaseNumerics.mdx  
-Cindex  
/home/glehmann/src/contrib-itk/WrapITK-unstable/build/ClassIndex/LevelSet.mdx  
-depend  
/home/glehmann/src/contrib-itk/WrapITK-unstable/build/Modules/LevelSet/wrap_itkSegmentationLevelSetFunction.xml.depend  
-outdir  
/home/glehmann/src/contrib-itk/WrapITK-unstable/build/Java/InsightToolkit  
-o  
/home/glehmann/src/contrib-itk/WrapITK-unstable/build/Modules/LevelSet/wrap_itkSegmentationLevelSetFunctionJava.cxx  
-c++ -I/usr/lib/CableSwig/SWIG/Lib/java -java -package InsightToolkit  
/home/glehmann/src/contrib-itk/WrapITK-unstable/build/Modules/LevelSet/wrap_itkSegmentationLevelSetFunction.xml
make[2]: ***  
[Modules/LevelSet/wrap_itkSegmentationLevelSetFunctionJava.cxx] Erreur 139
make[1]: *** [Modules/LevelSet/CMakeFiles/LevelSetJava.dir/all] Erreur 2
make: *** [all] Erreur 2



-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wrap_itkSegmentationLevelSetFunction.cxx
Type: application/octet-stream
Size: 1306 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/insight-users/attachments/20060602/b82f97fd/wrap_itkSegmentationLevelSetFunction-0001.obj


More information about the Insight-users mailing list