[vtkusers] Link errors when building VTK with Python on Mac OSX Darwin
Martin Costabel
costabel at wanadoo.fr
Fri Sep 24 07:07:23 EDT 2004
Jens Thomas wrote:
> Hi
>
> I'm currently trying to get vtk to build with the Python wrappings on a
> Mac OSX Darwin (the output of the sw_vers command is: ProductName: Mac
> OS X, ProductVersion: 10.3.5, BuildVersion: 7M34). The problem seems
> to be that the cmake is somehow losing the location of the python
> libraries so that ld can't find them.
[]
> Output from the last bit of the build:
>
> Building shared module /Users/jens/VTK/bin/libvtkFilteringPython.so...
> /Users/jens/cmake/bin/cmake -E remove -f
> /Users/jens/VTK/bin/libvtkFilteringPython.so
> c++ -bundle -o /Users/jens/VTK/bin/libvtkFilteringPython.so
> vtkCardinalSplinePython.o vtkCastToConcretePython.o
[]
> vtkUnstructuredGridToUnstructuredGridFilterPython.o -L.
> -L/Users/jens/VTK/bin -lvtkFiltering -lvtkCommon -framework AppKit
> -lpthread -lm
> ld: Undefined symbols:
> _PyArg_ParseTuple
[]
What version of vtk is this? For versions prior to 4.4, there is no hope
of making python wrappers work on MacOSX. The right cooperation of *.so
and *.dylib objects hadn't been found.
--
Martin
More information about the vtkusers
mailing list