[Dcmlib] Python-VTK on 64 bits processors

Mathieu Malaterre mathieu.malaterre at kitware.com
Wed Nov 16 16:20:27 CET 2005


Jean-Pierre Roux wrote:
> 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

What is not on 64bits proc ? int and long are indeed of same size, same 
thing for pointer...



More information about the Dcmlib mailing list