Vtk works fine, but not with Python ... ???
Konrad Hinsen
hinsen at cnrs-orleans.fr
Tue May 4 06:30:54 EDT 1999
Lloyd Zusman <ljz at asfast.com> writes:
> However, when I try to run any vtk Python examples, I get the
> following error no matter what script I try to run:
>
> % python earth.py
> Traceback (innermost last):
> File "earth.py", line 4, in ?
> from libVTKGraphicsPython import *
> ImportError: /usr/local/lib/python1.5/lib-dynload/libVTKGraphicsPython.so:
> undefined symbol: XtStrings
That's a bug in the VTK makefiles. libVTKGraphicsPython.so must be linked
with the Xt library (add -Xt). Unfortunately I don't remember where
exactly this had to be added; the VTK Makefiles are a bit messy!
--
-------------------------------------------------------------------------------
Konrad Hinsen | E-Mail: hinsen at cnrs-orleans.fr
Centre de Biophysique Moleculaire (CNRS) | Tel.: +33-2.38.25.55.69
Rue Charles Sadron | Fax: +33-2.38.63.15.17
45071 Orleans Cedex 2 | Deutsch/Esperanto/English/
France | Nederlands/Francais
-------------------------------------------------------------------------------
More information about the Python-list
mailing list