[osg-users] Android osgPlugins
Jan Ciger
jan.ciger at gmail.com
Wed Apr 15 08:56:18 PDT 2015
Hello Christian,
On Wed, Apr 15, 2015 at 4:15 PM, Christian Kehl <Christian.Kehl at uni.no>
wrote:
> Hi,
>
> I had a look on the OsgMainApp.hpp, where these plugin links are all active
> (looks as follows):
>
> //Static plugins Macro
> USE_OSGPLUGIN(ive)
> USE_OSGPLUGIN(osg)
> USE_OSGPLUGIN(osg2)
>
USE_OSGPLUGIN(terrain)
> USE_OSGPLUGIN(rgb)
> USE_OSGPLUGIN(OpenFlight)
> USE_OSGPLUGIN(dds)
> //Static DOTOSG
> USE_DOTOSGWRAPPER_LIBRARY(osg)
> USE_DOTOSGWRAPPER_LIBRARY(osgFX)
> USE_DOTOSGWRAPPER_LIBRARY(osgParticle)
> USE_DOTOSGWRAPPER_LIBRARY(osgTerrain)
> USE_DOTOSGWRAPPER_LIBRARY(osgText)
> USE_DOTOSGWRAPPER_LIBRARY(osgViewer)
> USE_DOTOSGWRAPPER_LIBRARY(osgVolume)
> //Static serializer
> USE_SERIALIZER_WRAPPER_LIBRARY(osg)
> USE_SERIALIZER_WRAPPER_LIBRARY(osgAnimation)
> USE_SERIALIZER_WRAPPER_LIBRARY(osgFX)
> USE_SERIALIZER_WRAPPER_LIBRARY(osgManipulator)
> USE_SERIALIZER_WRAPPER_LIBRARY(osgParticle)
> USE_SERIALIZER_WRAPPER_LIBRARY(osgTerrain)
> USE_SERIALIZER_WRAPPER_LIBRARY(osgText)
> USE_SERIALIZER_WRAPPER_LIBRARY(osgVolume)
>
> if one of them would go wrong, my JNI-compiler would mourn, I presume ?
> Hence, the links are active, still the models are not loaded.
>
That looks sensible to me.
>
> At the moment, I follow this approach:
> go on the commandline to my workdirectory,
> execute "<path-to-ndk>/ndk-build", then go to eclipse,
> hit "start" and try out the app.
> May that be a cause for problems ?
>
No not really. That is pretty much how it should be built.
It would be best to turn on debugging and check where exactly it fails. It
could also be that you don't have osgDB compiled statically for some reason
- it was looking for its shared library. Does it load an .ive or .osg file?
Or no files at all?
J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20150415/ba8a85f5/attachment-0003.htm>
More information about the osg-users
mailing list