<div dir="ltr"><div><div><div></div>Since I can't find the starting point for Android with latest OSG, I'll try to dive back into year 2011 to the point where it first worked for <span>Jorge Izquierdo Ciges who wrote the first Android docs: <a href="http://www.openscenegraph.org/index.php/documentation/platform-specifics/android/44-building-openscenegraph-for-android-3-0-3-0-1">http://www.openscenegraph.org/index.php/documentation/platform-specifics/android/44-building-openscenegraph-for-android-3-0-3-0-1</a><br></span></div><div><span>I'll recreate mid-2011 development environment and challenge my luck.<br></span></div><span></span></div><span></span></div><div class="gmail_extra"><br><div class="gmail_quote">2016-10-20 1:38 GMT+07:00 Robert Osfield <span dir="ltr"><<a href="mailto:robert.osfield@gmail.com" target="_blank">robert.osfield@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Michael,<br>
<br>
I haven't done any development under Android myself so can't comment<br>
on the specifics. A few general comments might help a bit perhaps.<br>
Hopefully others in the community with Android experience will be chip<br>
in with specifics.<br>
<br>
The osgViewer library doesn't have any Android support built into it,<br>
so it's not possible to just use osgViewer like you do on the desktop.<br>
Instead you'll need to have create an GLES graphics window from within<br>
Android and then get osgViewer to render to this via the<br>
GraphicsWindowEmbedded adapter.  This is the route that the<br>
OpenSceneGraph/examples/<wbr>osgAndoidExampleGLES1/GLES2 take, this is what<br>
the setUpViewerAsEmbeddedInWindow(<wbr>..) call will be doing.<br>
<br>
Robert.<br>
<div><div class="h5"><br>
<br>
On 19 October 2016 at 15:26, michael kapelko <<a href="mailto:kornerr@gmail.com">kornerr@gmail.com</a>> wrote:<br>
> Hi.<br>
> I'm trying to make a minimal OSG application to work under Android.<br>
> I closely follow GLES2 example.<br>
> Upon viewer->realize() call I get the following errors:<br>
><br>
> I/OSGLog: Warning:<br>
> GraphicsContext::<wbr>WindowingSystemInterfaces::<wbr>getWindowingSystemInterface()<br>
> failed, no interfaces available.<br>
> I/OSGLog: AcrossAllScreens::configure() : Error, no WindowSystemInterface<br>
> available, cannot create windows.<br>
> I/OSGLog: Viewer::realize() - failed to set up any windows<br>
><br>
> This leads to a viewer without instantiated Camera.<br>
><br>
> Is it normal to have those errors? Is there any windowing interface for<br>
> Android?<br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> osg-users mailing list<br>
> <a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
> <a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
><br>
______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.<wbr>openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.<wbr>org/listinfo.cgi/osg-users-<wbr>openscenegraph.org</a><br>
</blockquote></div><br></div>