[osg-users] [build] Building OSG for Android -- Windowing system issue

michael kapelko kornerr at gmail.com
Sun Apr 23 05:35:27 PDT 2017


Hi.

I'm currently working on a set of tutorials for OSG:
https://github.com/OGStudio/openscenegraph-cross-platform-guide
I've just finished re-doing Android support for sample application:
https://github.com/OGStudio/openscenegraph-cross-platform-guide-application

The tutorial for Android is in the process, but if you're interested to do
it yourself, here's the Android-only part for the sample application:
https://bitbucket.org/kornerr/android-osg-tutorial (You can open it in
AndroidStudio)
Its CMakeLists.txt builds OpenSceneGraph as a static library. It also
builds android-static-lib, but you can safely remove it, since this was
just a test.

The crucial CMake OSG options are in build.gradle file:
https://bitbucket.org/kornerr/android-osg-tutorial/src/tip/app/build.gradle?at=default&fileviewer=file-view-default

I plan to finish the tutorial in a week or two, so you may want to revisit
the guide later for a complete Android tutorial.



2017-04-23 9:01 GMT+07:00 Brett Haines <bhaines418 at gmail.com>:

> Hello all,
>
> I'm trying to build OSG for Android, but I'm having some issues with it
> finding X11.  From what I understand it's not supposed to be looking for
> X11 at all, but setting the windowing system to "None" results in
> "Windowing system not supported".  Below are pastebins of the Bash script I
> used, and the results of that build.  My host system is Ubuntu 16.04, and
> I'm using Crystax for my Android NDK.
>
> pastebin dot com Z8CAs1v3
>
> pastebin dot com QRvhSvpn
>
> Any tips about what I'm doing wrong would be greatly appreciated.
>
> Thank you!
>
> Brett
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=70814#70814
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170423/6947a83c/attachment-0002.htm>


More information about the osg-users mailing list