[vtkusers] compiling on OS X 10.4

Martin Costabel costabel at wanadoo.fr
Sun Oct 16 02:25:19 EDT 2005


roger ghanem wrote:
> Trying to compile VTK on MAC OSX 10.4, using gcc 3.3
> I get a sequence of errors, indicating conflict with Xlib.h  .  Any advidce will be greatly appreciated.
> Thanks.
> 
> The first few errors follow:
> 
> /usr/local/eng_sci/vtk-darwin/Rendering: building default_target
> Building object file vtkTkRenderWidgetPython.o...
> /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/
> Quickdraw.h:273: error: using typedef-name 'Cursor' after 'struct'
> /usr/X11R6/include/X11/X.h:108: error: 'Cursor' has a previous declaration here

Which of VTK_USE_CARBON, VTK_USE_COCOA, VTK_USE_X did you choose? You 
cannot mix X11 with the other graphic engines.

-- 
Martin





More information about the vtkusers mailing list