Hi Younggon,

I haven't heard of the OSG being compiled under Windows Mobile before
so you may well be the first to tread this route.  It may well be that
osgViewer::GraphicsWindowWin32 will need to be modified or perhaps
even replaced by another window integration solution that is
appropriate to Windows Mobile,   I don't have any knowledge of Windows
Mobile so can't personally provide guidance.

One thing you could try is to try out the osgviewerSDL or
osgviewerGLUT examples as these use the GraphicsWindowEmbedded
functionality of osgViewer to mimic having a full graphics context
implementation, it's a bit limiting compared to the native graphics
window support available in osgViewer, but may be enough to prove the
concept of an OSG Windows Mobile port.

Good luck with the port :)

Robert.

On Wed, Jul 1, 2009 at 2:39 PM, Younggon Kim<[email protected]> wrote:
> Hi,
>
> I'm porting OSG v2.8.0 to Windows Mobile 6.
> I have completed to build OSG libraries but not working..
> The problem is that Viewer dosen't get a graphic context.
>
> This is the error message:
> "Viewer::realize() - failed to set up any windows"
>
> static ref_ptr<GraphicsContext::WindowingSystemInterface> 
> &windowingSystemInterfaceRef()
> {
>    static ref_ptr<GraphicsContext::WindowingSystemInterface> 
> s_WindowingSystemInterface;
>    return s_WindowingSystemInterface;
> }
>
> I think this function should return not null but returns null.
> I don't know why this function returns null.
>
> Any advice for how to fix this?
>
> Thank you!
>
> Cheers,
> Younggon
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=14767#14767
>
>
>
>
>
> _______________________________________________
> 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