[Insight-users] WrapITK and python : FFT computation

Vincent Page vpage at univ-ag.fr
Mon Apr 3 08:40:30 EDT 2006


Hi, and thanks Gaetan and Zach for the work done,


As you proposed, I downloaded and test.
I used FFTImageFilter.py as the test and
here is what I end up with :
-----------------------------------------
Traceback (most recent call last):
  File "FFTImageFilter.py", line 5, in ?
    import itk
  File "/usr/local/lib/InsightToolkit/WrapITK/Python/itk.py", line 19, in ?
    itkBase.LoadModule(module, globals())
  File "/usr/local/lib/InsightToolkit/WrapITK/Python/itkBase.py", line 
53, in LoadModule
    LoadModule(dep, namespace)
  File "/usr/local/lib/InsightToolkit/WrapITK/Python/itkBase.py", line 
53, in LoadModule
    LoadModule(dep, namespace)
  File "/usr/local/lib/InsightToolkit/WrapITK/Python/itkBase.py", line 
61, in LoadModule
    if not swigModuleName in sys.modules: module = 
loader.load(swigModuleName)
  File "/usr/local/lib/InsightToolkit/WrapITK/Python/itkBase.py", line 
162, in load
    return imp.load_module(name, fp, pathname, description)
  File 
"/usr/local/lib/InsightToolkit/WrapITK/Python-SWIG/ITKCommonAPython.py", 
line 5, in ?
    import _ITKCommonAPython
ImportError: 
/usr/local/lib/InsightToolkit/WrapITK/Python-SWIG/_ITKCommonAPython.so: 
undefined symbol: _ZN3itk13NumericTraitsINS_8RGBPixelItEEE4ZeroE
-----------------------------------------

The system is a mandrake 10.2 community, with a x86_64 architecture.
I re compiled the whole WrapITK...
Any idea to fix this ?


Vincent.



More information about the Insight-users mailing list