[vtkusers] compiling on OS X 10.4

roger ghanem ghanem at usc.edu
Sat Oct 15 21:55:02 EDT 2005


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
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/
Quickdraw.h:278: error: using typedef-name 'Cursor' after 'struct'
/usr/X11R6/include/X11/X.h:108: error: 'Cursor' has a previous declaration here
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/
Quickdraw.h:278: error: invalid type in declaration before ';' token
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/
Quickdraw.h:278: error: conflicting declaration 'typedef int Cursor'
/usr/X11R6/include/X11/X.h:108: error: 'Cursor' has a previous declaration as 'typedef XID Cursor'



Roger Ghanem
254C Kaprielian Hall
University of Southern California
Los Angeles, CA 90089
Tel:  213 740 9528
Fax: 213 740 2037
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ghanem.vcf
Type: text/x-vcard
Size: 245 bytes
Desc: Card for roger ghanem <ghanem at usc.edu>
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20051015/c090dab0/attachment.vcf>


More information about the vtkusers mailing list