[vtk-developers] glext.h and glxext.h on OSX

Francois Bertel francois.bertel at kitware.com
Mon Apr 20 20:13:28 EDT 2009


Hi,

We try to keep glxext.h in VTK up-to-date with the official file from
opengl.org ( http://www.opengl.org/registry/api/glxext.h )

Are you asking this question because you encounter some error or just
for a general recommendation?

In the first part of the file, there is something like:

/* glxext.h last updated 2008/10/22 */
/* Current version at http://www.opengl.org/registry/ */
#define GLX_GLXEXT_VERSION 21

you can compare this part with the different versions of glxext.h
provided by your machine and by VTK.

Right now, the version does not matter too much but I recommend to
point to the one provided with VTK.


On Mon, Apr 20, 2009 at 7:28 PM, Darren Weber
<darren.weber.lists at gmail.com> wrote:
> Please advise on which headers to use when building VTK-5.4.0 on OSX for
> glext.h and glxext.h
>
> The default cmake settings are:
> VTK_GLEXT_FILE:FILEPATH=<srcPath>/Utilities/ParseOGLExt/headers/glext.h
> VTK_GLXEXT_FILE:FILEPATH=<srcPath>/Utilities/ParseOGLExt/headers/glxext.h
>
> The following are possible alternatives for glext.h (similarly for glxext.h)
> on an OSX system (10.5.6, with Xcode 3.x, XQuartz, and macports with mesa):
>
> Apple installations:
> /Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers/glext.h
> /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include/GL/glext.h
> /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers/glext.h
> /Developer/SDKs/MacOSX10.5.sdk/usr/X11/include/GL/glext.h
> /System/Library/Frameworks/OpenGL.framework/Versions/A/Headers/glext.h
>
> macports installation of mesa:
> /opt/local/include/GL/glext.h
>
> XQuartz installation:
> /usr/X11/include/GL/glext.h
>
> Thanks in advance,
> Darren
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
>



-- 
François Bertel, PhD  | Kitware Inc. Suite 204
1 (518) 371 3971 x113 | 28 Corporate Drive
                      | Clifton Park NY 12065, USA



More information about the vtk-developers mailing list