HI Tony, My best guess would be that the X11 code that is querying the number of screens isn't functioning for some reason. I don't have Fedora so can't check this myself. You'll need to have a look at the OpenSceneGraph/src/osgViewer/GraphicsWindowX11.cpp for the X11WindwSystemInterface implementation is doing, or not as the case may be.
Curiously the X11WindowingSystemInterface::getNumScreens() method only uses a couple of standard X11 calls without any extensions to X11 so it's surprising that it's failing. Perhaps the X11 system you are working on is broken in some way. Robert. On 27 November 2015 at 07:40, Tony Vasile <[email protected]> wrote: > I having a few problems with running an executable on Fedora Core 23. When > I query the output of osg::GraphicsContext::WindowingSystemInterface I get > a valid pointer. When I call getNumScreens() I get 0 as the value. Any > ideas what I need to set in my environment to get this to work? I am using > the default window manager. > > ------------------------ > Tony V > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=65774#65774 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

