[vtkusers] Mac OS X build problems

Michael Norton mnorton at cisco.com
Wed Jun 5 15:40:32 EDT 2002


I ran into a similar problem while I was building for Tcl.

Make sure you include the python paths at the same time set the python wrap 
to on in CMakeCache.txt.
Also, blow off your bins from your run that generated make errors. Then run 
CMake and make. Yves
recommend that I should build vtk like this.

mkdir /Develop
mkdir /Develop/VTK
mkidr /Develop/osxBin

a few setup things...

cd osxBin
cmake ../VTK

Do your builds like that. Have you gotten the Mace demo to work?

Mike

At 11:22 AM 6/5/2002 -0600, you wrote:
>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
>
>_______________________________________________
>This is the private VTK discussion list. Please keep messages on-topic. 
>Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers




More information about the vtkusers mailing list