[Paraview] Problem with Compile on OS X -III

Kush Tandon kush at coas.oregonstate.edu
Tue Jun 13 12:52:36 EDT 2006


Amy,

Will try and let y'all know. Thanks

Kush

> Turn VTK_USE_X on, and turn VTK_USE_CARBON and VTK_USE_COCOA off.
>
> - Amy
>
> Kush Tandon wrote:
>> Amy,
>>
>> Thanks
>>
>> I was able to solve that problem by deleting CMakeLists.txt in  
>> parent directory and then starting all over again. However, I am  
>> still not able to compile.
>>
>> I am attempting  a serial compile of Mac OS X 10.4.6. I am  
>> attaching my CMakeCache.txt.
>>
>> What combinations of OFF/ ON should I use for CARBON, COCOA, and  
>> X11 on OS X.
>>
>> Part of my error message is as follows:
>>
>> /Users/kushtandon/ParaView/Utilities/TclTk/tk8.4.5/generic/ 
>> tkIntXlibDecls.h:661: error: declaration of C function 'void  
>> XSetDashes(Display*, _XGC*, int, const char*, int)' conflicts with
>> /usr/include/X11/Xlib.h:3193: error: previous declaration 'int  
>> XSetDashes(Display*, _XGC*, int, const char*, int)' here
>> /Users/kushtandon/ParaView/Utilities/TclTk/tk8.4.5/generic/ 
>> tkIntXlibDecls.h:685: error: declaration of C function 'KeySym  
>> XKeycodeToKeysym(Display*, KeyCode, int)' conflicts with
>> /usr/include/X11/Xlib.h:1687: error: previous declaration 'KeySym  
>> XKeycodeToKeysym(Display*, unsigned int, int)' here
>> /Users/kushtandon/ParaView/Utilities/TclTk/tk8.4.5/generic/ 
>> tkIntXlibDecls.h:697: error: declaration of C function 'void XBell 
>> (Display*, int)' conflicts with
>> /usr/include/X11/Xlib.h:2005: error: previous declaration 'int  
>> XBell(Display*, int)' here
>> /Users/kushtandon/ParaView/Utilities/TclTk/tk8.4.5/generic/ 
>> tkIntXlibDecls.h:699: error: declaration of C function 'void  
>> XChangeProperty(Display*, Window, Atom, Atom, int, int, const  
>> unsigned char*, int)' conflicts with
>> /usr/include/X11/Xlib.h:2069: error: previous declaration 'int  
>> XChangeProperty(Display*, Window, Atom, Atom, int, int, const  
>> unsigned char*, int)' here
>> /Users/kushtandon/ParaView/Utilities/TclTk/tk8.4.5/generic/ 
>> tkIntXlibDecls.h:703: error: declaration of C function 'void  
>> XChangeWindowAttributes(Display*, Window, long unsigned int,  
>> XSetWindowAttributes*)' conflicts with
>> /usr/include/X11/Xlib.h:2082: error: previous declaration 'int  
>> XChangeWindowAttributes(Display*, Window, long unsigned int,  
>> XSetWindowAttributes*)' here
>> /Users/kushtandon/ParaView/Utilities/TclTk/tk8.4.5/generic/ 
>> tkIntXlibDecls.h:707: error: declaration of C function 'void  
>> XConfigureWindow(Display*, Window, unsigned int, XWindowChanges*)'  
>> conflicts with
>> /usr/include/X11/Xlib.h:2161: error: previous declaration 'int  
>> XConfigureWindow(Display*, Window, unsigned int, XWindowChanges*)'  
>> here
>> /Users/kushtandon/ParaView/Utilities/TclTk/tk8.4.5/generic/ 
>> tkIntXlibDecls.h:710: error: declaration of C function 'void  
>> XCopyArea(Display*, Drawable, Drawable, _XGC*, int, int, unsigned  
>> int, unsigned int, int, int)' conflicts with
>> /usr/include/X11/Xlib.h:2187: error: previous declaration 'int  
>> XCopyArea(Display*, Drawable, Drawable, _XGC*, int, int, unsigned  
>> int, unsigned int, int, int)' here
>>
>>

Kush Tandon
104 COAS Admin. Bldg., Oregon State University, Corvallis, OR 97331
Phones: (541) 737-9658 (Office); (541) 758-2217 (Home)
Emails: kush at coas.oregonstate.edu
kushtandon at yahoo.com
kushtandon at gmail.com

http://www.coas.oregonstate.edu/index.cfm? 
fuseaction=faculty.detail&id=209
http://216.216.95.110/index.cfm?fuseaction=participants.detail&id=62






More information about the ParaView mailing list