[osg-users] GL3 Profile

Daniel Emminizer, Code 5773 dan.emminizer at nrl.navy.mil
Tue Jun 26 09:15:46 PDT 2018

Hi Maxim / Robert,

I am using GL3 on Windows.  I had to download and slightly modify the Khronos glcorearb.h file, to get it working right with the declspec or dllimport or whatever it was.  It was not trivial or obvious by any means.  But it works now, after supplying that file.

I understand where you're coming from Maxim, but one thing I don't get:

>> So the fix I can make is change the CMake script to use the modern default windows GL headers which will enable people to use the GL3 profile option, and configure cmake to disable everything that needs to be turned off in that case.

What and where is the "modern default windows GL headers" ?  I have the Windows Kit 8.1 installed currently.  That's where my implementation is finding gl/GL.h.  It has no glcorearb.h that I can find, and its GL.h is only defined up to OpenGL 1.1.  Can you explain where the headers are that you're referring to?

I too would like it if Windows just worked better.  But without the OS having a reasonable way to update the headers, I thought we were pretty much stuck with manually configuring OSG on the command line.

 - Dan

> -----Original Message-----
> From: osg-users [mailto:osg-users-bounces at lists.openscenegraph.org] On
> Behalf Of Robert Osfield
> Sent: Tuesday, June 26, 2018 11:42 AM
> To: OpenSceneGraph Users
> Subject: Re: [osg-users] GL3 Profile
> Hi Maxim,
> On Tue, 26 Jun 2018 at 14:59, Maxim Stere <osgforum at tevs.eu> wrote:
> > We don't want to do anything like GL3_WINDOWS since most likely that will
> have to have a new external dependency.
> ?? So you don't want to install the official glcorearb.h for some
> reason, and me suggesition of just relying upon gl.h and have the OSG
> add the extra's still isn't enough for you and think that you still
> need an extra dependency.
> > But if we make the GL3 profile fall back on what already is there, it might be
> missing a few functions that the user will have to link to manually in the
> windows environment, but at least the context version will be correct, and
> the deprecated functions will be gone.
> ?? What missing functions?
> > Right now GL3 selection and auto configuration does not work on windows
> at all...
> It might not be working for YOU, with you particular preference
> for/against certain things, but I'm pretty sure that there are other
> Windows users using GL3 without any issues.
> I'm not a Window users myself so I'll defer to others to help you work
> out what you need to do.
> Robert.
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

More information about the osg-users mailing list