[osg-users] GL3: non-GL3 version number: 1.0

Robert Osfield robert.osfield at gmail.com
Thu Oct 12 05:24:02 PDT 2017


Hi Mahmud,

The "GL3: non-GL3 version number: 1.0"  message is being emitted from
OpenSceneGraph/src/osgViewer/GraphicsWindowWin32.cpp, the 1.0 value
suggests that the _traits->glContextVersion is set to one, but this code
block in GrphicsWindowWin32.cpp is for GL3 specific builds of the OSG,
something that is no the default OSG build.

It seems like a GL3 was specifically selected in the build of the OSG, but
then the context version was set to 3 or more  when creating the window so
GraphicsWindowWin32.cpp is raising a flag about it.  Given your uses a 3rd
party SDK that wraps up the OSG, but you say absolutely nothing about what
this SDK is, what version of it, what version of the OSG, then there are
just way too many unknowns for us to be give any advice.

Have you spoken with the 3rd party SDK developers??

Robert.



On 12 October 2017 at 04:36, Mahmud Hasan <mmahmudhasan at gmail.com> wrote:

> Hi,
>
> I am working on a code that uses a third party sdk.
> That third party SDK uses OSG library to render some graphics stuff and
> OSG(Open Scene Graph) uses OpenGL.
> Now the thirdparty library has a function that initialises OSG stuff,
> something like that osgInit();
>
> Whenever, I call osgInit I get this error message,
>
> GL3: non-GL3 version number: 1.0
>
> My question is what does it mean actually?
> Does it mean that I don't have OpenGL version 3 library in my development
> environment and it requires OpenGL 3.0?
> Can anyone give me a direction how to fix this issue?
> If OpenGL 3 is required, how to get OpenGL 3 header and lib?
>
> Thank you!
>
> Cheers,
> Mahmud
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=72159#72159
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20171012/60e9926e/attachment.html>


More information about the osg-users mailing list