[vtkusers] Compiling VTK 4.2.0 on MAC OS X 10.3

Mathieu Malaterre mathieu.malaterre at kitware.com
Tue Jan 27 10:57:25 EST 2004


Giulio,

	You should send these kind of questions to the VTK users ML or ParaView 
ML. I found a mail:

http://vtk.org/pipermail/vtkusers/2003-September/019917.html

	But the solution is more of a bad hack. Are you sure you turn CARBON 
and COCOA to OFF ? You should only use X11 to build ParaView.

HTH
Mathieu



Giulio Antonutto wrote:
> has anybody succesfully compiled VTK on macos 10.3?
> after some experiments I am still waiting for the miracle....
> 
> the problem now seems to be the different type definitions for: 'struct
> Cursor'
> ---------------------------------------------
> Building object file vtkTkRenderWidget.o...
> In file included from
> /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.frame
> work/Headers/QD.h:42,
>                  from
> /System/Library/Frameworks/ApplicationServices.framework/Headers/Application
> Services.h:30,
>                  from
> /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:24,
>                  from
> /Users/pillo/paraview-1.0.4/VTK/Rendering/vtkCarbonRenderWindow.h:27,
>                  from
> /Users/pillo/paraview-1.0.4/VTK/Rendering/vtkTkRenderWidget.cxx:37:
> /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.frame
> work/Headers/Quickdraw.h:262: error: conflicting
>    types for `struct Cursor'
> ---------------------------------------------
> 
> I tried with different versions of python (2.2 2.3) and different versions
> of VTK;
> now I am trying with the latest release (that seems to be more osx-friendly,
> at least carbonwindowinteractor works...);
> If I compile VTK without wrapping, everything runs fine (it must be
> something to do with python or tk...??).
> my only need is to compile paraview on mac (or to use some binaries... )
> any idea?
> 
> thanks a lot again,
> giulio





More information about the vtkusers mailing list