[Paraview] Problem compiling paraview on Mac Intel

Shead, Timothy tshead at sandia.gov
Tue Mar 21 10:53:39 EST 2006


> in vtkOpenGL.h I find:
> 
> [...]
> #if defined(__APPLE__) && (defined(VTK_USE_CARBON) || defined
> (VTK_USE_COCOA))
> # include <OpenGL/gl.h> // Include OpenGL API.
> #else
> # include "vtkWindows.h" // Needed to include OpenGL header 
> on Windows.
> # include <GL/gl.h> // Include OpenGL API.
> #endif
> 
> I configured the build with
> BUILD_SHARED_LIBS ON
> VTK_USE_CARBON OFF
> VTK_USE_CG_SHADERS OFF
> VTK_USE_COCOA OFF
> VTK_USE_FFMPEG_ENCODER OFF
> VTK_USE_GLSL_SHADERS OFF
> VTK_USE_RPATH OFF
> VTK_USE_X ON

FWIW, I don't think the FAQ is telling you to turn off VTK_USE_COCOA ...
from vtkOpenGL.h you have to have it ON to get the OpenGL headers for
mac.

Cheers,
Tim



More information about the ParaView mailing list