[Paraview-developers] Build ParaView 4.0 on Mac 10.6, OPENGL_INCLUDE_DIR not found

Sunrise helios.corona at gmail.com
Fri Oct 4 16:18:07 EDT 2013


I am trying to build ParaView 4.0 on Mac Snow Leopard (10.6). First, I
have installed Xcode 3.1.4 (that is the latest compatible version with
Snow Leopard), also Qt 4.8 and Mesa SDK.

I have problem with choosing the right path for OpenGL. Cmake can not
recognize OPENGL_INCLUDE_DIR. I found the following directories that
contain gl.h and tried each of them to set OPENGL_INCLUDE_DIR with:

/Xcode3.1.4/SDKs/macOSX10.5.sdk/System/Library/Frameworks/OpenGL.Frameworks/Versions/A/Headers/gl.h
/Xcode3.1.4/SDKs/macOSX10.5.sdk/usr/X11/include/GL/gl.h

Also I tried
/System/Library/Frameworks/OpenGL.Frameworks/
although this directory misses the "Headers" folder and I do not know
why. My guess is that OpenGL/gl.h should be here when I install Xcode.

However, the build process returns the following:
vtkOpenGL:24:27: error: OpenGL/gl.h no such file or directory. Can
anyone help me to set OpenGL correctly please?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20131004/c9085b78/attachment.htm>


More information about the Paraview-developers mailing list