[vtkusers] compiling on OS X 10.4

Sean McBride sean at rogue-research.com
Mon Oct 17 09:47:30 EDT 2005


On 2005-10-16 08:25, Martin Costabel said:

>> 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.

...Because they both declare structures with the same name, like 'Cursor'.

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada





More information about the vtkusers mailing list