Hi Yann,

Are you statically linking your application?  I can't think of any
other reason for the WindowSystemInterface not to be registered.  Even
under static linking it's possible to register it, see the
osgstaticviewer for example of this.

Robert.

On Wed, Sep 21, 2011 at 7:26 PM, Yann Blaudin de Thé <[email protected]> wrote:
> Hi,
> Hope somebody will be able to help me :s
> I am under Mac OS X 10.7, and I have OSG 3.0.1, that I compiled with g++
> (and not LLVM)
> I can run osgviewer, and my own program which loads a 3d model.
> But when I want to create a sphere (still my old sphere problem :-) ) OSG
> yields :
> GraphicsWindow has not been created successfully.
> View::setUpViewAcrossAllScreens() : Error, no WindowSystemInterface
> available, cannot create windows.
> Viewer::realize() - failed to set up any windows
> and the programs goes on until it quits (without entering the main loop).
> So why didn't it manage to create the window for a sphere? I really don't
> get it.
> I don't find anything on the internet, and I really don't know where to
> start my investigation...
> Yann
> _______________________________________________
> 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

Reply via email to