[osg-users] Master renders with OpenGL error on OSX

Robert Osfield robert.osfield at gmail.com
Thu Jan 5 02:18:23 PST 2017


Hi Stev,

I don't have access to a OSX box so can't test things myself so have
to rely upon others in the community who have OSX machines to doing
testing and esnure things work sweetly, and if things break spot them
as early as possible so we can pin point when the problem first
emerged, which then leads on to figuring out how to address the
problem.

The GL error and dynamic_cast errors are likely unconnected and at
this stage I don't have an explanation for either.

For the GL error could you enable fine grained test for GL errors by
setting the env var OSG_GL_ERROR_CHECKING to ON.  Then re-run the
test.

Also could you provide information about what OSG application and test
models you are using to the warning, if other combinations do work OK,
then information about this is useful too.

--

The dynamic_cast<> error doesn't mean much to me as I don't have any
clues to what context this has.  Is this a compile error? A linker
error?  A runtime error reported to the console?

--

Another approach to the pinpointing the causing problems would be to
step back to versions of the OSG between 3.4 and git master's head.

Finally, perhaps others in the OSG/OSX community can pitch in with
testing to see if a pattern emerges to what works and what doesn't so
you pin point what is causing the problem.

Robert.




On 30 December 2016 at 11:54, Stev Kookmal <steva44 at hotmail.com> wrote:
> Hi guys,
>
> Any luck on finding out what is causing this error?  I am also getting it out on my 2016 MacBook Pro running OSX Sierra when compiling the latest Dec. 23rd commit.  No problem on my Windows machine.  I also tried compiling on my 2013 MacBook Air with the same results and errors.  I did not have it when I was using OSG3.4.
>
> In addition to this:
>
> Warning: detected OpenGL error 'invalid operation' at after RenderBin::draw(..)
>
> That comes up continuously over and over again in my compile output, I also get this:
>
> dynamic_cast error 1: Both of the following type_info's should have public visibility.  At least one of them is hidden. NSt3__115basic_streambufIcNS_11char_traitsIcEEEE, N3osg18NotifyStreamBufferE.
>
> Not sure if this has something to do with it.
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=69807#69807
>
>
>
>
>
> _______________________________________________
> 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