[Paraview] OSX: cmake problem

Mathieu Malaterre mathieu.malaterre at kitware.com
Tue Mar 8 08:19:25 EST 2005


Andy,

	Are you building ParaView X11 version ? If not then turn the flag 
VTK_USE_X to ON  in your CmakeCache. There has also been report of 
successful build of Carbon version using Apple official tcl/tk. For more 
info:

http://public.kitware.com/pipermail/paraview/2004-December/001043.html

HTH
Mathieu

Andy Manners wrote:
>  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?
> 
> 



More information about the ParaView mailing list