[osg-users] getWindowingSystemInterface() fails on Ubuntu 18.04

Robert Osfield robert.osfield at gmail.com
Wed Sep 5 07:14:10 PDT 2018


HI Julian,

On Wed, 5 Sep 2018 at 15:10, Julien Valentin <julienvalentin51 at gmail.com> wrote:
> WindowingSystemInterface is an interface implemented in system dependant osgViewer::XXXWindowingSystemInterface
> What may be done is to add a system agnotistic windowInterface in osgviewer
>
>  #ifdef SYS
> typedef  osgViewer::SYSWindowingSystemInterface osgViewer::WindowingInterface
>  #else if SYS2
> typedef osgViewer::SYS2WindowingSystemInterface osgViewer::WindowingInterface
>
> In your case try to use osgUtil::X11WindowingSystemInterface

The WindowingSystemInterface is meant to be accessed in a windowing
agnostic way, end user application shouldn't need to access the
windowing specific version.  Omar's code look normal in this respect.

Robert.


More information about the osg-users mailing list