[vtkusers] vtk python
Charl P. Botha
c.p.botha at its.tudelft.nl
Wed Apr 9 08:09:41 EDT 2003
On Wed, 2003-04-09 at 13:46, Edward Hartley wrote:
> I've built VTK with the Python wrapper enabled
> the build proceeds satisfactorily.
> I've installed the vtk wrappers in my site-packages directory
> and the VTK4.2.1 directory is in my PYTHONPATH
> However
> python
> >>>import vtk
> produces
>
> Import Error /usr/local/packages/VTK4.2.1/bin/libvtkComon.so:
> undefined symbol: __tiostream
>
> I built with CMAKE linker flag -L/usr/lib -llibstdc++-3-libc6.2.2.10.0
> which nm shows has this symbol
Why did you explicitly add this library? It should not be necessary if
you build with g++?
Did you build with VTK_USE_ANSI_STDLIB_DEFAULT on or off? On your
setup, it should probably be on.
--
charl p. botha http://cpbotha.net/ http://visualisation.tudelft.nl/
More information about the vtkusers
mailing list