[osg-users] Android osgPlugins

Jordi Torres jtorresfabra at gmail.com
Mon Apr 20 01:58:36 PDT 2015

Hi Christian, Jan et al.

Sorry for not being too active.... Anyway, did you try to compile all with
the last additions from Rafa Gaitán? Now it is possible to compile OSG for
Android with dynamic libraries, take a look to
Is a must for you to use static libs? You can try the dynamic version,
maybe it solves your problems.

Also we are using osgAndroid ( https://gitorious.org/osgandroid/pages/Home
) maybe it could be helpful.

I'm building now OSG for Android to do some testing.

I hope I can help a bit later.

2015-04-20 10:47 GMT+02:00 Jan Ciger <jan.ciger at gmail.com>:

> On Mon, Apr 20, 2015 at 10:34 AM, Christian Kehl <Christian.Kehl at uni.no>
> wrote:
>> Hi,
>> is there still anybody available who has an idea what could be wrong in
>> this
>> instance ? The problem continues to persist and I don't know enough about
>> the android wrapping system to fix the problem myself. The problem has to
>> be
>> in the static libraries, but where ?
> It could be also a bug  in the Android port of OSG. OSG is designed to
> load plugins required to load the various data formats dynamically.
> Unfortunately, this doesn't really work well with Android because of the
> way Android applications are deployed, so OSG won't find its plugins (and
> models/textures/etc won't load).
> Jordi Torres has implemented a workaround using static linking, that is
> what those plugin declaration macros were for. If you have compiled
> everything statically as described in the doc and it is still looking for
> .so files (DLLs in Windows parlance), then something seems borked in the
> osgDB plugin system, IMHO.
> Do the osgAndroid examples shipped with OSG work for you? If those don't
> work neither, then something has changed in OSG and broke it since mid-2013
> when I have last compiled the Android version (and when it was working).
> J.
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Jordi Torres
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20150420/7823aa65/attachment-0003.htm>

More information about the osg-users mailing list