[Dcmlib] Python-VTK on 64 bits processors

Jean-Pierre Roux Jean-Pierre.Roux at creatis.insa-lyon.fr
Wed Nov 16 11:36:10 CET 2005


Hi, everybody .

I just ran ctest on a 64 bits processor based PC.
Everything goes well, but Python-VTK-Reader/Python-VTK-Writer :
-------------------------------------------------------------
Changing directory into 
/misc/raid/jpr/Dashboards/MyTests/gdcm-cc-exp/gdcmPython/demo
 35/ 36 Testing Python-VTK-Reader
Test command: /usr/bin/python 
/misc/raid/jpr/Dashboards/MyTests/gdcm-cc-exp/gdcmPython/demo/vtkGdcmReader.py
Traceback (most recent call last):
  File 
"/misc/raid/jpr/Dashboards/MyTests/gdcm-cc-exp/gdcmPython/demo/vtkGdcmReader.py", 
line 5, in ?
    from vtkpython import *
  File "/usr/lib/vtk/python/vtkpython.py", line 7, in ?
    from vtk import *
  File "/usr/lib/vtk/python/vtk/__init__.py", line 9, in ?
    import dl
SystemError: module dl requires sizeof(int) == sizeof(long) == sizeof(char*)
--------------------------------------------------

Sure, on 64 proc, it's not !
:-(
Any idea to fix the bug
JP




More information about the Dcmlib mailing list