[vtkusers] Mac OS X build problems

Chris Want cwant at ualberta.ca
Wed Jun 5 13:22:03 EDT 2002


Hello,

I am trying to build vtk for OS X using quartz
and python wrapping (python is from the python-nox
package in fink). I am new to OS X so this has
been an interesting adventure, and although I have
managed to overcome many obstacles along the way
I am finally stumped by this error:

c++   -bundle -flat_namespace -undefined suppress 
-fno-coalesce-templates -fno-coalesce-static-vtables -o 
/Users/cwant/vtk/VTK/bin/libvtkHybridPython.so 
vtkHybridPythonInit.o vtk3DSImporterPython.o vtkArcPlotterPython.o 
vtkCaptionActor2DPython.o vtkCubeAxesActor2DPython.o 
vtkDepthSortPolyDataPython.o vtkEarthSourcePython.o 
vtkGridTransformPython.o vtkImplicitModellerPython.o 
vtkImageToPolyDataFilterPython.o 
vtkIterativeClosestPointTransformPython.o vtkLandmarkTransformPython.o 
vtkLegendBoxActorPython.o vtkPolyDataToImageStencilPython.o 
vtkRenderLargeImagePython.o vtkRIBExporterPython.o vtkRIBLightPython.o 
vtkRIBPropertyPython.o vtkThinPlateSplineTransformPython.o 
vtkTransformToGridPython.o vtkVectorTextPython.o vtkVideoSourcePython.o 
vtkVRMLImporterPython.o vtkXYPlotActorPython.o 
vtkWeightedTransformFilterPython.o  -L/Users/cwant/vtk/VTK/bin 
-L/sw/lib/python2.2 -lpthread -lm -lvtkRenderingPython -lvtkIOPython 
-lvtkGraphicsPython -lvtkImagingPython -lvtkFilteringPython 
-lvtkCommonPython -framework Carbon -framework AGL -framework OpenGL 
-framework AppKit -lvtkCommon -lvtkFiltering -lvtkImaging -lvtkGraphics 
-lvtkIO -lvtkRendering -lvtkHybrid -lvtkRendering -framework Carbon 
-framework AGL -framework OpenGL -framework AppKit -lvtkImaging -lvtkIO 
-lvtkpng -lvtkzlib -lvtkjpeg -lvtkGraphics -lvtkFiltering -lvtkCommon 
-lpthread -lm
/usr/bin/ld: /Users/cwant/vtk/VTK/bin/libvtkRenderingPython.dylib is 
input for the dynamic link editor, is not relocatable by the static link 
editor again
/usr/bin/ld: /Users/cwant/vtk/VTK/bin/libvtkIOPython.dylib is input for 
the dynamic link editor, is not relocatable by the static link editor again
/usr/bin/ld: /Users/cwant/vtk/VTK/bin/libvtkGraphicsPython.dylib is 
input for the dynamic link editor, is not relocatable by the static link 
editor again
/usr/bin/ld: /Users/cwant/vtk/VTK/bin/libvtkImagingPython.dylib is input 
for the dynamic link editor, is not relocatable by the static link 
editor again
/usr/bin/ld: /Users/cwant/vtk/VTK/bin/libvtkFilteringPython.dylib is 
input for the dynamic link editor, is not relocatable by the static link 
editor again
/usr/bin/ld: /Users/cwant/vtk/VTK/bin/libvtkCommonPython.dylib is input 
for the dynamic link editor, is not relocatable by the static link 
editor again
make[3]: *** [/Users/cwant/vtk/VTK/bin/libvtkHybridPython.so] Error 1
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Hybrid] Error 2
make: *** [default_target] Error 2

Anybody know a workaround for this error?

Thanks,

Chris Want
Research Computing Support
Computing & Network Services
University of Alberta
Tel: 1-780-492-9418




More information about the vtkusers mailing list