[vtkusers] problems building latest VTK on OSX
Robb Brown
brownr at ucalgary.ca
Tue Jun 18 12:25:53 EDT 2002
I can't seem to build the latest (CVS from last Friday or nightly
from today) VTK on OSX (carbon). I'm getting undefined symbols that
look like part of the open (Apple?) GL library. I notice that the
Cocoa framework is being included even though I specified to build
with Carbon. Is this normal? Here's the part that crashes:
c++ -multiply_defined suppress -framework Carbon -dynamiclib
-Wno-deprecated -fpascal-strings -o
/Users/rbrown/compilation/VTKAqua-June18/bin/libvtkRendering.dylib
vtkAbstractMapper3D.o vtkAbstractPicker.o vtkAbstractPropPicker.o
vtkActor.o vtkActorCollection.o vtkAssembly.o vtkAxisActor2D.o
vtkCamera.o vtkCellPicker.o vtkCuller.o vtkCullerCollection.o
vtkDataSetMapper.o vtkDirectionEncoder.o
vtkEncodedGradientEstimator.o vtkEncodedGradientShader.o
vtkExporter.o vtkFiniteDifferenceGradientEstimator.o vtkFollower.o
vtkFrustumCoverageCuller.o vtkGenericRenderWindowInteractor.o
vtkGraphicsFactory.o vtkIVExporter.o vtkImageActor.o vtkImageMapper.o
vtkImageViewer.o vtkImageViewer2.o vtkImagingFactory.o vtkImporter.o
vtkInteractorObserver.o vtkInteractorStyle.o
vtkInteractorStyleFlight.o vtkInteractorStyleImage.o
vtkInteractorStyleJoystickActor.o vtkInteractorStyleJoystickCamera.o
vtkInteractorStyleSwitch.o vtkInteractorStyleTerrain.o
vtkInteractorStyleTrackball.o vtkInteractorStyleTrackballActor.o
vtkInteractorStyleTrackballCamera.o vtkInteractorStyleUnicam.o
vtkInteractorStyleUser.o vtkLODActor.o vtkLODProp3D.o
vtkLabeledDataMapper.o vtkLight.o vtkLightCollection.o vtkLightKit.o
vtkMapper.o vtkMapperCollection.o vtkOBJExporter.o vtkOOGLExporter.o
vtkParallelCoordinatesActor.o vtkPicker.o vtkPointPicker.o
vtkPolyDataMapper.o vtkPolyDataMapper2D.o vtkProp3D.o
vtkProp3DCollection.o vtkPropPicker.o vtkProperty.o
vtkRecursiveSphereDirectionEncoder.o vtkRenderWindow.o
vtkRenderWindowCollection.o vtkRenderWindowInteractor.o vtkRenderer.o
vtkRendererCollection.o vtkRendererSource.o vtkScalarBarActor.o
vtkScaledTextActor.o vtkSelectVisiblePoints.o vtkTextActor.o
vtkTextMapper.o vtkTexture.o vtkVRMLExporter.o vtkVolume.o
vtkVolumeCollection.o vtkVolumeMapper.o vtkVolumeProMapper.o
vtkVolumeProperty.o vtkVolumeRayCastCompositeFunction.o
vtkVolumeRayCastFunction.o vtkVolumeRayCastIsosurfaceFunction.o
vtkVolumeRayCastMIPFunction.o vtkVolumeRayCastMapper.o
vtkVolumeTextureMapper.o vtkVolumeTextureMapper2D.o
vtkWindowToImageFilter.o vtkWorldPointPicker.o vtkOpenGLActor.o
vtkOpenGLCamera.o vtkOpenGLImageActor.o vtkOpenGLImageMapper.o
vtkOpenGLLight.o vtkOpenGLPolyDataMapper.o
vtkOpenGLPolyDataMapper2D.o vtkOpenGLProperty.o vtkOpenGLRenderer.o
vtkOpenGLRenderWindow.o vtkOpenGLTexture.o
vtkOpenGLVolumeRayCastMapper.o vtkOpenGLVolumeTextureMapper2D.o
vtkCarbonTextMapper.o vtkCarbonRenderWindowInteractor.o
vtkCarbonRenderWindow.o vtkRenderingInstantiator.o
vtkRenderingInstantiator0.o vtkRenderingInstantiator1.o
vtkRenderingInstantiator2.o vtkRenderingInstantiator3.o
vtkRenderingInstantiator4.o vtkRenderingInstantiator5.o
vtkRenderingInstantiator6.o vtkRenderingInstantiator7.o
vtkRenderingInstantiator8.o
-L/Users/rbrown/compilation/VTKAqua-June18/bin -lpthread -lm
-framework AppKit -framework OpenGL -framework Cocoa -lvtkCommon
-lvtkFiltering -lvtkImaging -lvtkGraphics -lvtkImaging -lvtkGraphics
-lvtkFiltering -lvtkCommon -lpthread -lm -framework AppKit -framework
OpenGL -framework Cocoa -lvtkGraphics -lvtkImaging -lvtkFiltering
-lvtkCommon -framework AppKit -framework OpenGL -framework Cocoa -lm
-lpthread
ld: Undefined symbols:
_aglErrorString
_aglGetError
_aglSetCurrentContext
_aglUseFont
_aglUpdateContext
_aglChoosePixelFormat
_aglCreateContext
_aglDescribeRenderer
_aglDestroyContext
_aglDestroyRendererInfo
_aglEnable
_aglNextRendererInfo
_aglQueryRendererInfo
_aglSetDrawable
_aglSetInteger
_aglSwapBuffers
/usr/bin/libtool: internal link edit command failed
make[3]: ***
[/Users/rbrown/compilation/VTKAqua-June18/bin/libvtkRendering.dylib]
Error 1
Thanks,
--
______________________________
Robb Brown
Seaman Family MR Research Centre
Calgary, Alberta, Canada
More information about the vtkusers
mailing list