[Paraview] OSX: cmake problem

Andy Manners andy19191 at fsmail.net
Tue Mar 8 02:46:07 EST 2005


 OSX 10.3.8
 CMake 2.0.5
 Paraview 1.8.5

Clearing out and starting again enabled a compilation to start. I am now getting:

Building object file vtkTkRenderWidget.o...
In file included from /Users/andy/pub/paraview-1.8.5/Utilities/TclTk/tk8.4.5/macosx/tkMacOSXPort.h:81,
                 from /Users/andy/pub/paraview-1.8.5/Utilities/TclTk/tk8.4.5/generic/tkPort.h:32,
                 from /Users/andy/pub/paraview-1.8.5/VTK/Utilities/TclTk/internals/tk8.4/tkInt.h:27,
                 from /Users/andy/pub/paraview-1.8.5/VTK/Utilities/TclTk/internals/tk8.4/tkMacOSXInt.h:19,
                 from /Users/andy/pub/paraview-1.8.5-bin/VTK/Rendering/vtkTkInternals.h:34,
                 from /Users/andy/pub/paraview-1.8.5/VTK/Rendering/vtkTkRenderWidget.cxx:21:
/Users/andy/pub/paraview-1.8.5/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/include/X11/Xlib.h:3792: error: previous declaration `int 
   XSetDashes(Display*, _XGC*, int, const char*, int)' here
/Users/andy/pub/paraview-1.8.5/Utilities/TclTk/tk8.4.5/generic/tkIntXlibDecls.h:686: error: declaration
   of C function `KeySym XKeycodeToKeysym(Display*, unsigned char, int)' 
   conflicts with
.
.
.

This looks like an incorrect set of -D flags for tcl/tk?

About a year ago with the previous version of paraview I lost a day trying to fix the paraview version of tcl/tk directly by editting the makefiles, headers, source and failed. If we assume it is primarily a configuration problem (tcl/tk runs on OSX) where should I look to change the configuration parameters?  Has paraview been successfully built on OSX?


-- 

Whatever you Wanadoo:
http://www.wanadoo.co.uk/time/

This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm



More information about the ParaView mailing list