<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
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.<br>
<br>
I have problem with choosing the right path for OpenGL. Cmake can
not recognize <font face="Courier New, Courier, monospace">OPENGL_INCLUDE_DIR</font>.
I found the following directories that contain <font face="Courier
New, Courier, monospace">gl.h</font> and tried each of them to set
<font face="Courier New, Courier, monospace">OPENGL_INCLUDE_DIR</font>
with:<br>
<br>
<font face="Courier New, Courier, monospace">/Xcode3.1.4/SDKs/macOSX10.5.sdk/System/Library/Frameworks/OpenGL.Frameworks/Versions/A/Headers/gl.h<br>
/Xcode3.1.4/SDKs/macOSX10.5.sdk/usr/X11/include/GL/gl.h</font><br>
<br>
Also I tried<br>
<font face="Courier New, Courier, monospace">/System/Library/Frameworks/OpenGL.Frameworks/</font><br>
although this directory misses the "<font face="Courier New,
Courier, monospace">Headers</font>" folder and I do not know why.
My guess is that <font face="Courier New, Courier, monospace">OpenGL/gl.h</font>
should be here when I install Xcode.<br>
<br>
However, the build process returns the following:<br>
<font face="Courier New, Courier, monospace">vtkOpenGL:24:27: error:
OpenGL/gl.h no such file or directory</font>. Can anyone help me
to set OpenGL correctly please?<br>
<br>
Thanks.<br>
</body>
</html>