<br>Hi Francois,<br><br>I'm asking for both general recommendation and because some of the VTK-5-4-0 tests failed on my OSX system (see our prior email discussion about that for the ctest details posted to the experimental board from host <a href="http://elegans.buckcenter.org">elegans.buckcenter.org</a>).<br>
<br>FYI:<br><br>From macports mesa (7.4) installation of /opt/local/include/GL/glxext.h<br>
<br>
<span style="font-family: courier new,monospace;">/* Header file version number, required by OpenGL ABI for Linux */</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/* glxext.h last updated 2008/10/22 */</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/* Current version at <a href="http://www.opengl.org/registry/">http://www.opengl.org/registry/</a> */</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">#define GLX_GLXEXT_VERSION 21</span><br style="font-family: courier new,monospace;">
<br><br>From installation of XQuartz 2.3.1 (xorg-server 1.4.2-apple17) into<br>/usr/X11/include/GL/glxext.h<br><br><span style="font-family: courier new,monospace;">/* Header file version number, required by OpenGL ABI for Linux */</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/* glxext.h last updated 2007/04/21 */</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/* Current version at <a href="http://www.opengl.org/registry/">http://www.opengl.org/registry/</a> */</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">#define GLX_GLXEXT_VERSION 19</span><br><br><br>From apple installation of /Developer/SDKs/MacOSX10.5.sdk/usr/X11/include/GL/glxext.h<br><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/* Header file version number, required by OpenGL ABI for Linux */</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/* glxext.h last updated 2007/04/21 */</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/* Current version at <a href="http://www.opengl.org/registry/">http://www.opengl.org/registry/</a> */</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">#define GLX_GLXEXT_VERSION 19</span><br>
<br><br>There is no glxext.h under /System/Library/Frameworks/OpenGL.framework<br>From /System/Library/Frameworks/OpenGL.framework/Versions/A/Headers/glext.h<br><br><span style="font-family: courier new,monospace;">/*</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">** License Applicability. Except to the extent portions of this file are</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">** made subject to an alternative license as permitted in the SGI Free</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">** Software License B, Version 1.1 (the "License"), the contents of this</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">** file are subject only to the provisions of the License. You may not use</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">** this file except in compliance with the License. You may obtain a copy</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at:</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">**</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">** <a href="http://oss.sgi.com/projects/FreeB">http://oss.sgi.com/projects/FreeB</a></span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">**</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">** Note that, as provided in the License, the Software is distributed on an</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">** PARTICULAR PURPOSE, AND NON-INFRINGEMENT.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">**</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">** Original Code. The Original Code is: OpenGL Sample Implementation,</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics,</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">** Copyright in any portions created by third parties is as indicated</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">** elsewhere herein. All Rights Reserved.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">**</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">** Additional Notice Provisions: This software was created using the</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">** OpenGL(R) version 1.2.1 Sample Implementation published by SGI, but has</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">** not been independently verified as being compliant with the OpenGL(R)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">** version 1.2.1 Specification.</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">*/</span><br style="font-family: courier new,monospace;"><br><br>Given the above, should I be more specific about how to specify these build library paths?<br><br>Also, once a specific library dependency is selected, how can I determine if the library can support off-screen rendering, in order to set the cmake variable VTK_OPENGL_HAS_OSMESA (or should I leave that entirely up to cmake)?<br>
<br>Thanks again,<br>Darren<br><br><br><br><br><br><br><div class="gmail_quote">On Mon, Apr 20, 2009 at 5:13 PM, Francois Bertel <span dir="ltr"><<a href="mailto:francois.bertel@kitware.com">francois.bertel@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
We try to keep glxext.h in VTK up-to-date with the official file from<br>
<a href="http://opengl.org" target="_blank">opengl.org</a> ( <a href="http://www.opengl.org/registry/api/glxext.h" target="_blank">http://www.opengl.org/registry/api/glxext.h</a> )<br>
<br>
Are you asking this question because you encounter some error or just<br>
for a general recommendation?<br>
<br>
In the first part of the file, there is something like:<br>
<br>
/* glxext.h last updated 2008/10/22 */<br>
/* Current version at <a href="http://www.opengl.org/registry/" target="_blank">http://www.opengl.org/registry/</a> */<br>
#define GLX_GLXEXT_VERSION 21<br>
<br>
you can compare this part with the different versions of glxext.h<br>
provided by your machine and by VTK.<br>
<br>
Right now, the version does not matter too much but I recommend to<br>
point to the one provided with VTK.<br>
<div><div></div><div class="h5"><br>
<br>
On Mon, Apr 20, 2009 at 7:28 PM, Darren Weber<br>
<<a href="mailto:darren.weber.lists@gmail.com">darren.weber.lists@gmail.com</a>> wrote:<br>
> Please advise on which headers to use when building VTK-5.4.0 on OSX for<br>
> glext.h and glxext.h<br>
><br>
> The default cmake settings are:<br>
> VTK_GLEXT_FILE:FILEPATH=<srcPath>/Utilities/ParseOGLExt/headers/glext.h<br>
> VTK_GLXEXT_FILE:FILEPATH=<srcPath>/Utilities/ParseOGLExt/headers/glxext.h<br>
><br>
> The following are possible alternatives for glext.h (similarly for glxext.h)<br>
> on an OSX system (10.5.6, with Xcode 3.x, XQuartz, and macports with mesa):<br>
><br>
> Apple installations:<br>
> /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers/glext.h<br>
> /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include/GL/glext.h<br>
> /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers/glext.h<br>
> /Developer/SDKs/MacOSX10.5.sdk/usr/X11/include/GL/glext.h<br>
> /System/Library/Frameworks/OpenGL.framework/Versions/A/Headers/glext.h<br>
><br>
> macports installation of mesa:<br>
> /opt/local/include/GL/glext.h<br>
><br>
> XQuartz installation:<br>
> /usr/X11/include/GL/glext.h<br>
><br>
> Thanks in advance,<br>
> Darren<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
><br>
><br>
><br>
<br>
<br>
<br>
--<br>
François Bertel, PhD  | Kitware Inc. Suite 204<br>
1 (518) 371 3971 x113 | 28 Corporate Drive<br>
                      | Clifton Park NY 12065, USA<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</blockquote></div><br>