[vtkusers] Problem building VTK 4.0 under Debian Linux
Charl P. Botha
c.p.botha at its.tudelft.nl
Wed Jan 22 13:30:03 EST 2003
On Tue, 2003-01-21 at 21:17, Brian White wrote:
> from vtkpython import *
>
> r = vtkPolyDataReader()
> r.SetFileName('/usr/local/VTKData/Data/bore.vtk')
> r.Update()
>
> d = r.GetOutput()
> c = d.GetCellData()
>
> Right when the GetCellData function is called is when it seg faults. I
> also tried teh GetPointData call just to see what happens and I saw the
> same behavior. I tried the same thing in C++ and everything seemed to
> work fine. At least, it didn't seg fault at that call.
If you run your python file with: vtkpython yourfile.py instead of just
"python", does it still segfault? vtkpython is built during the VTK
build and should be with the other binaries.
--
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/
More information about the vtkusers
mailing list