[Paraview] problems compiling Paraview

Alexandra Badea alex at orion.duhs.duke.edu
Thu Oct 7 15:13:49 EDT 2004


Greetings!

I am trying to install Paraview 1.6.3 on a MAC OS X 10.3.5 and I use  
CMake 2.0.3.
I have specified for cmake :

backwards_compatibility to 1.8
and asked for vtk_use_x in the hope that I will avoid the type of  
conflicts listed below
shared_libraries are off.
al other options for cmake are the default ones.

I will be grateful for receiving some guidance in solving my  
installation problems.
I attach my list of errors and apologize for the lengthy email.

Alexandra

_______________________

/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:663: error: declaration
    of C function `void XSetDashes(Display*, _XGC*, int, const char*,  
int)'
    conflicts with
/usr/X11R6/include/X11/Xlib.h:3792: error: previous declaration `int
    XSetDashes(Display*, _XGC*, int, const char*, int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:686: error: declaration
    of C function `KeySym XKeycodeToKeysym(Display*, unsigned char, int)'
    conflicts with
/usr/X11R6/include/X11/Xlib.h:1799: error: previous declaration `KeySym
    XKeycodeToKeysym(Display*, unsigned int, int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:697: error: declaration
    of C function `void XBell(Display*, int)' conflicts with
/usr/X11R6/include/X11/Xlib.h:2253: error: previous declaration `int
    XBell(Display*, int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:701: error: declaration
    of C function `void XChangeProperty(Display*, long unsigned int, long
    unsigned int, long unsigned int, int, int, const unsigned char*,  
int)'
    conflicts with
/usr/X11R6/include/X11/Xlib.h:2337: error: previous declaration `int
    XChangeProperty(Display*, long unsigned int, long unsigned int, long
    unsigned int, int, int, const unsigned char*, int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:705: error: declaration
    of C function `void XChangeWindowAttributes(Display*, long unsigned  
int,
    long unsigned int, XSetWindowAttributes*)' conflicts with
/usr/X11R6/include/X11/Xlib.h:2354: error: previous declaration `int
    XChangeWindowAttributes(Display*, long unsigned int, long unsigned  
int,
    XSetWindowAttributes*)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:708: error: declaration
    of C function `void XConfigureWindow(Display*, long unsigned int,  
unsigned
    int, XWindowChanges*)' conflicts with
/usr/X11R6/include/X11/Xlib.h:2459: error: previous declaration `int
    XConfigureWindow(Display*, long unsigned int, unsigned int,  
XWindowChanges*)
    ' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:713: error: declaration
    of C function `void XCopyArea(Display*, long unsigned int, long  
unsigned
    int, _XGC*, int, int, unsigned int, unsigned int, int, int)'  
conflicts with
/usr/X11R6/include/X11/Xlib.h:2491: error: previous declaration `int
    XCopyArea(Display*, long unsigned int, long unsigned int, _XGC*,  
int, int,
    unsigned int, unsigned int, int, int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:718: error: declaration
    of C function `void XCopyPlane(Display*, long unsigned int, long  
unsigned
    int, _XGC*, int, int, unsigned int, unsigned int, int, int, long  
unsigned
    int)' conflicts with
/usr/X11R6/include/X11/Xlib.h:2516: error: previous declaration `int
    XCopyPlane(Display*, long unsigned int, long unsigned int, _XGC*,  
int, int,
    unsigned int, unsigned int, int, int, long unsigned int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:725: error: declaration
    of C function `void XDefineCursor(Display*, long unsigned int, long  
unsigned
    int)' conflicts with
/usr/X11R6/include/X11/Xlib.h:2543: error: previous declaration `int
    XDefineCursor(Display*, long unsigned int, long unsigned int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:727: error: declaration
    of C function `void XDestroyWindow(Display*, long unsigned int)'  
conflicts
    with
/usr/X11R6/include/X11/Xlib.h:2558: error: previous declaration `int
    XDestroyWindow(Display*, long unsigned int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:731: error: declaration
    of C function `void XDrawArc(Display*, long unsigned int, _XGC*,  
int, int,
    unsigned int, unsigned int, int, int)' conflicts with
/usr/X11R6/include/X11/Xlib.h:2648: error: previous declaration `int
    XDrawArc(Display*, long unsigned int, _XGC*, int, int, unsigned int,
    unsigned int, int, int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:734: error: declaration
    of C function `void XDrawLines(Display*, long unsigned int, _XGC*,  
XPoint*,
    int, int)' conflicts with
/usr/X11R6/include/X11/Xlib.h:2705: error: previous declaration `int
    XDrawLines(Display*, long unsigned int, _XGC*, XPoint*, int, int)'  
here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:738: error: declaration
    of C function `void XDrawRectangle(Display*, long unsigned int,  
_XGC*, int,
    int, unsigned int, unsigned int)' conflicts with
/usr/X11R6/include/X11/Xlib.h:2738: error: previous declaration `int
    XDrawRectangle(Display*, long unsigned int, _XGC*, int, int,  
unsigned int,
    unsigned int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:742: error: declaration
    of C function `void XFillArc(Display*, long unsigned int, _XGC*,  
int, int,
    unsigned int, unsigned int, int, int)' conflicts with
/usr/X11R6/include/X11/Xlib.h:2841: error: previous declaration `int
    XFillArc(Display*, long unsigned int, _XGC*, int, int, unsigned int,
    unsigned int, int, int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:745: error: declaration
    of C function `void XFillPolygon(Display*, long unsigned int, _XGC*,
    XPoint*, int, int, int)' conflicts with
/usr/X11R6/include/X11/Xlib.h:2863: error: previous declaration `int
    XFillPolygon(Display*, long unsigned int, _XGC*, XPoint*, int, int,  
int)'
    here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:748: error: declaration
    of C function `void XFillRectangles(Display*, long unsigned int,  
_XGC*,
    XRectangle*, int)' conflicts with
/usr/X11R6/include/X11/Xlib.h:2885: error: previous declaration `int
    XFillRectangles(Display*, long unsigned int, _XGC*, XRectangle*,  
int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:750: error: declaration
    of C function `void XFreeColormap(Display*, long unsigned int)'  
conflicts
    with
/usr/X11R6/include/X11/Xlib.h:2911: error: previous declaration `int
    XFreeColormap(Display*, long unsigned int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:753: error: declaration
    of C function `void XFreeColors(Display*, long unsigned int, long  
unsigned
    int*, int, long unsigned int)' conflicts with
/usr/X11R6/include/X11/Xlib.h:2921: error: previous declaration `int
    XFreeColors(Display*, long unsigned int, long unsigned int*, int,  
long
    unsigned int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:755: error: declaration
    of C function `void XFreeModifiermap(XModifierKeymap*)' conflicts  
with
/usr/X11R6/include/X11/Xlib.h:2974: error: previous declaration `int
    XFreeModifiermap(XModifierKeymap*)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:776: error: declaration
    of C function `void XMapWindow(Display*, long unsigned int)'  
conflicts with
/usr/X11R6/include/X11/Xlib.h:3283: error: previous declaration `int
    XMapWindow(Display*, long unsigned int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:780: error: declaration
    of C function `void XMoveResizeWindow(Display*, long unsigned int,  
int, int,
    unsigned int, unsigned int)' conflicts with
/usr/X11R6/include/X11/Xlib.h:3314: error: previous declaration `int
    XMoveResizeWindow(Display*, long unsigned int, int, int, unsigned  
int,
    unsigned int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:783: error: declaration
    of C function `void XMoveWindow(Display*, long unsigned int, int,  
int)'
    conflicts with
/usr/X11R6/include/X11/Xlib.h:3323: error: previous declaration `int
    XMoveWindow(Display*, long unsigned int, int, int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:789: error: declaration
    of C function `void XRaiseWindow(Display*, long unsigned int)'  
conflicts
    with
/usr/X11R6/include/X11/Xlib.h:3568: error: previous declaration `int
    XRaiseWindow(Display*, long unsigned int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:792: error: declaration
    of C function `void XRefreshKeyboardMapping(XMappingEvent*)'  
conflicts with
/usr/X11R6/include/X11/Xlib.h:3618: error: previous declaration `int
    XRefreshKeyboardMapping(XMappingEvent*)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:795: error: declaration
    of C function `void XResizeWindow(Display*, long unsigned int,  
unsigned int,
    unsigned int)' conflicts with
/usr/X11R6/include/X11/Xlib.h:3665: error: previous declaration `int
    XResizeWindow(Display*, long unsigned int, unsigned int, unsigned  
int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:798: error: declaration
    of C function `void XSelectInput(Display*, long unsigned int, long  
int)'
    conflicts with
/usr/X11R6/include/X11/Xlib.h:3704: error: previous declaration `int
    XSelectInput(Display*, long unsigned int, long int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:804: error: declaration
    of C function `void XSetIconName(Display*, long unsigned int, const  
char*)'
    conflicts with
/usr/X11R6/include/X11/Xlib.h:3856: error: previous declaration `int
    XSetIconName(Display*, long unsigned int, const char*)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:807: error: declaration
    of C function `void XSetInputFocus(Display*, long unsigned int, int,  
long
    unsigned int)' conflicts with
/usr/X11R6/include/X11/Xlib.h:3865: error: previous declaration `int
    XSetInputFocus(Display*, long unsigned int, int, long unsigned int)'  
here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:810: error: declaration
    of C function `void XSetSelectionOwner(Display*, long unsigned int,  
long
    unsigned int, long unsigned int)' conflicts with
/usr/X11R6/include/X11/Xlib.h:3918: error: previous declaration `int
    XSetSelectionOwner(Display*, long unsigned int, long unsigned int,  
long
    unsigned int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:813: error: declaration
    of C function `void XSetWindowBackground(Display*, long unsigned  
int, long
    unsigned int)' conflicts with
/usr/X11R6/include/X11/Xlib.h:3970: error: previous declaration `int
    XSetWindowBackground(Display*, long unsigned int, long unsigned  
int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:816: error: declaration
    of C function `void XSetWindowBackgroundPixmap(Display*, long  
unsigned int,
    long unsigned int)' conflicts with
/usr/X11R6/include/X11/Xlib.h:3978: error: previous declaration `int
    XSetWindowBackgroundPixmap(Display*, long unsigned int, long  
unsigned int)'
    here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:819: error: declaration
    of C function `void XSetWindowBorder(Display*, long unsigned int,  
long
    unsigned int)' conflicts with
/usr/X11R6/include/X11/Xlib.h:3986: error: previous declaration `int
    XSetWindowBorder(Display*, long unsigned int, long unsigned int)'  
here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:822: error: declaration
    of C function `void XSetWindowBorderPixmap(Display*, long unsigned  
int, long
    unsigned int)' conflicts with
/usr/X11R6/include/X11/Xlib.h:3994: error: previous declaration `int
    XSetWindowBorderPixmap(Display*, long unsigned int, long unsigned  
int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:825: error: declaration
    of C function `void XSetWindowBorderWidth(Display*, long unsigned  
int,
    unsigned int)' conflicts with
/usr/X11R6/include/X11/Xlib.h:4002: error: previous declaration `int
    XSetWindowBorderWidth(Display*, long unsigned int, unsigned int)'  
here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:828: error: declaration
    of C function `void XSetWindowColormap(Display*, long unsigned int,  
long
    unsigned int)' conflicts with
/usr/X11R6/include/X11/Xlib.h:4010: error: previous declaration `int
    XSetWindowColormap(Display*, long unsigned int, long unsigned int)'  
here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:830: error: declaration
    of C function `void XUngrabKeyboard(Display*, long unsigned int)'  
conflicts
    with
/usr/X11R6/include/X11/Xlib.h:4154: error: previous declaration `int
    XUngrabKeyboard(Display*, long unsigned int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:832: error: declaration
    of C function `void XUngrabPointer(Display*, long unsigned int)'  
conflicts
    with
/usr/X11R6/include/X11/Xlib.h:4161: error: previous declaration `int
    XUngrabPointer(Display*, long unsigned int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:834: error: declaration
    of C function `void XUnmapWindow(Display*, long unsigned int)'  
conflicts
    with
/usr/X11R6/include/X11/Xlib.h:4195: error: previous declaration `int
    XUnmapWindow(Display*, long unsigned int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:849: error: declaration
    of C function `void XFreeGC(Display*, _XGC*)' conflicts with
/usr/X11R6/include/X11/Xlib.h:2968: error: previous declaration `int
    XFreeGC(Display*, _XGC*)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:855: error: declaration
    of C function `void XSetBackground(Display*, _XGC*, long unsigned  
int)'
    conflicts with
/usr/X11R6/include/X11/Xlib.h:3737: error: previous declaration `int
    XSetBackground(Display*, _XGC*, long unsigned int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:858: error: declaration
    of C function `void XSetForeground(Display*, _XGC*, long unsigned  
int)'
    conflicts with
/usr/X11R6/include/X11/Xlib.h:3832: error: previous declaration `int
    XSetForeground(Display*, _XGC*, long unsigned int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:861: error: declaration
    of C function `void XSetClipMask(Display*, _XGC*, long unsigned int)'
    conflicts with
/usr/X11R6/include/X11/Xlib.h:3745: error: previous declaration `int
    XSetClipMask(Display*, _XGC*, long unsigned int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:864: error: declaration
    of C function `void XSetClipOrigin(Display*, _XGC*, int, int)'  
conflicts
    with
/usr/X11R6/include/X11/Xlib.h:3754: error: previous declaration `int
    XSetClipOrigin(Display*, _XGC*, int, int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:867: error: declaration
    of C function `void XSetTSOrigin(Display*, _XGC*, int, int)'  
conflicts with
/usr/X11R6/include/X11/Xlib.h:3954: error: previous declaration `int
    XSetTSOrigin(Display*, _XGC*, int, int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:870: error: declaration
    of C function `void XChangeGC(Display*, _XGC*, long unsigned int,
    XGCValues*)' conflicts with
/usr/X11R6/include/X11/Xlib.h:2295: error: previous declaration `int
    XChangeGC(Display*, _XGC*, long unsigned int, XGCValues*)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:873: error: declaration
    of C function `void XSetFont(Display*, _XGC*, long unsigned int)'  
conflicts
    with
/usr/X11R6/include/X11/Xlib.h:3816: error: previous declaration `int
    XSetFont(Display*, _XGC*, long unsigned int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:876: error: declaration
    of C function `void XSetArcMode(Display*, _XGC*, int)' conflicts with
/usr/X11R6/include/X11/Xlib.h:3729: error: previous declaration `int
    XSetArcMode(Display*, _XGC*, int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:879: error: declaration
    of C function `void XSetStipple(Display*, _XGC*, long unsigned int)'
    conflicts with
/usr/X11R6/include/X11/Xlib.h:3937: error: previous declaration `int
    XSetStipple(Display*, _XGC*, long unsigned int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:882: error: declaration
    of C function `void XSetFillRule(Display*, _XGC*, int)' conflicts  
with
/usr/X11R6/include/X11/Xlib.h:3800: error: previous declaration `int
    XSetFillRule(Display*, _XGC*, int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:885: error: declaration
    of C function `void XSetFillStyle(Display*, _XGC*, int)' conflicts  
with
/usr/X11R6/include/X11/Xlib.h:3808: error: previous declaration `int
    XSetFillStyle(Display*, _XGC*, int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:888: error: declaration
    of C function `void XSetFunction(Display*, _XGC*, int)' conflicts  
with
/usr/X11R6/include/X11/Xlib.h:3840: error: previous declaration `int
    XSetFunction(Display*, _XGC*, int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:893: error: declaration
    of C function `void XSetLineAttributes(Display*, _XGC*, unsigned  
int, int,
    int, int)' conflicts with
/usr/X11R6/include/X11/Xlib.h:3876: error: previous declaration `int
    XSetLineAttributes(Display*, _XGC*, unsigned int, int, int, int)'  
here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:897: error: declaration
    of C function `_XIC* XCreateIC()' conflicts with
/usr/X11R6/include/X11/Xlib.h:4644: error: previous declaration `_XIC*
    XCreateIC(_XIM*, ...)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:911: error: declaration
    of C function `void XDrawSegments(Display*, long unsigned int, _XGC*,
    XSegment*, int)' conflicts with
/usr/X11R6/include/X11/Xlib.h:2758: error: previous declaration `int
    XDrawSegments(Display*, long unsigned int, _XGC*, XSegment*, int)'  
here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:914: error: declaration
    of C function `void XForceScreenSaver(Display*, int)' conflicts with
/usr/X11R6/include/X11/Xlib.h:2898: error: previous declaration `int
    XForceScreenSaver(Display*, int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:917: error: declaration
    of C function `void XDrawLine(Display*, long unsigned int, _XGC*,  
int, int,
    int, int)' conflicts with
/usr/X11R6/include/X11/Xlib.h:2694: error: previous declaration `int
    XDrawLine(Display*, long unsigned int, _XGC*, int, int, int, int)'  
here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:921: error: declaration
    of C function `void XFillRectangle(Display*, long unsigned int,  
_XGC*, int,
    int, unsigned int, unsigned int)' conflicts with
/usr/X11R6/include/X11/Xlib.h:2875: error: previous declaration `int
    XFillRectangle(Display*, long unsigned int, _XGC*, int, int,  
unsigned int,
    unsigned int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:923: error: declaration
    of C function `void XClearWindow(Display*, long unsigned int)'  
conflicts
    with
/usr/X11R6/include/X11/Xlib.h:2444: error: previous declaration `int
    XClearWindow(Display*, long unsigned int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:926: error: declaration
    of C function `void XDrawPoint(Display*, long unsigned int, _XGC*,  
int, int)
    ' conflicts with
/usr/X11R6/include/X11/Xlib.h:2715: error: previous declaration `int
    XDrawPoint(Display*, long unsigned int, _XGC*, int, int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:930: error: declaration
    of C function `void XDrawPoints(Display*, long unsigned int, _XGC*,  
XPoint*,
    int, int)' conflicts with
/usr/X11R6/include/X11/Xlib.h:2726: error: previous declaration `int
    XDrawPoints(Display*, long unsigned int, _XGC*, XPoint*, int, int)'  
here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:936: error: declaration
    of C function `void XWarpPointer(Display*, long unsigned int, long  
unsigned
    int, int, int, unsigned int, unsigned int, int, int)' conflicts with
/usr/X11R6/include/X11/Xlib.h:4215: error: previous declaration `int
    XWarpPointer(Display*, long unsigned int, long unsigned int, int,  
int,
    unsigned int, unsigned int, int, int)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:939: error: declaration
    of C function `void XQueryColor(Display*, long unsigned int,  
XColor*)'
    conflicts with
/usr/X11R6/include/X11/Xlib.h:3484: error: previous declaration `int
    XQueryColor(Display*, long unsigned int, XColor*)' here
/Users/alex/software/paraview-1.6.3/Utilities/TclTk/tk8.4.5/generic/ 
tkIntXlibDecls.h:943: error: declaration
    of C function `void XQueryColors(Display*, long unsigned int,  
XColor*, int)'
    conflicts with
/usr/X11R6/include/X11/Xlib.h:3493: error: previous declaration `int
    XQueryColors(Display*, long unsigned int, XColor*, int)' here
In file included from  
/Users/alex/software/paraviewbuild/VTK/Rendering/vtkTkInternals.h:34,
                  from  
/Users/alex/software/paraview-1.6.3/VTK/Rendering/ 
vtkTkRenderWidget.cxx:21:
/Users/alex/software/paraview-1.6.3/VTK/Utilities/TclTk/internals/ 
tk8.4/tkMacOSXInt.h:27:22: tkMacOSX.h: No such file or directory
In file included from  
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ 
QD.framework/Headers/QD.h:42,
                  from  
/System/Library/Frameworks/ApplicationServices.framework/Headers/ 
ApplicationServices.h:30,
                  from  
/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:24,
                  from  
/Users/alex/software/paraview-1.6.3/VTK/Utilities/TclTk/internals/ 
tk8.4/tkMacOSXInt.h:34,
                  from  
/Users/alex/software/paraviewbuild/VTK/Rendering/vtkTkInternals.h:34,
                  from  
/Users/alex/software/paraview-1.6.3/VTK/Rendering/ 
vtkTkRenderWidget.cxx:21:
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ 
QD.framework/Headers/Quickdraw.h:262: error: conflicting
    types for `struct Cursor'
/usr/X11R6/include/X11/X.h:108: error: previous declaration as `typedef  
XID
    Cursor'
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ 
QD.framework/Headers/Quickdraw.h:267: error: conflicting
    types for `typedef struct Cursor Cursor'
/usr/X11R6/include/X11/X.h:108: error: previous declaration as `typedef  
XID
    Cursor'
In file included from  
/Users/alex/software/paraviewbuild/VTK/Rendering/vtkTkInternals.h:34,
                  from  
/Users/alex/software/paraview-1.6.3/VTK/Rendering/ 
vtkTkRenderWidget.cxx:21:
/Users/alex/software/paraview-1.6.3/VTK/Utilities/TclTk/internals/ 
tk8.4/tkMacOSXInt.h:89: error: syntax
    error before `*' token
/Users/alex/software/paraview-1.6.3/VTK/Utilities/TclTk/internals/ 
tk8.4/tkMacOSXInt.h:90: error: syntax
    error before `*' token
/Users/alex/software/paraview-1.6.3/VTK/Utilities/TclTk/internals/ 
tk8.4/tkMacOSXInt.h:91: error: syntax
    error before `*' token
/Users/alex/software/paraview-1.6.3/VTK/Utilities/TclTk/internals/ 
tk8.4/tkMacOSXInt.h:92: error: syntax
    error before `*' token
/Users/alex/software/paraview-1.6.3/VTK/Utilities/TclTk/internals/ 
tk8.4/tkMacOSXInt.h:93: error: syntax
    error before `*' token
/Users/alex/software/paraview-1.6.3/VTK/Rendering/ 
vtkTkRenderWidget.cxx: In
    function `int  
vtkTkRenderWidget_MakeRenderWindow(vtkTkRenderWidget*)':
/Users/alex/software/paraview-1.6.3/VTK/Rendering/ 
vtkTkRenderWidget.cxx:1102: error: `
    TkMacOSXGetDrawablePort' undeclared (first use this function)
/Users/alex/software/paraview-1.6.3/VTK/Rendering/ 
vtkTkRenderWidget.cxx:1102: error: (Each
    undeclared identifier is reported only once for each function it  
appears
    in.)
make[3]: *** [vtkTkRenderWidget.o] Error 1
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Utilities_VTKTclWrapping] Error 2
make: *** [default_target] Error 2
[ithaka:~/software/paraviewbuild] alex%



More information about the ParaView mailing list