[osg-users] Android osgPlugins

Christian Kehl christian-kehl at web.de
Thu Apr 30 09:58:13 PDT 2015


Hi,
So, I needed to uncomment my submitted fix in GLDefines again, but with that, I actually made it through the compilation (yeaha).

Now, it generates the jar, I start osgSimple (I also created the osgAndroid folder on the phone and put the cessna in it) - buuut: the ap doesn't find the compiled library .a-files:

(eclipse report)
04-30 18:50:05.218: I/OpenSceneGraph-Android Library(11567): Successfully initialized
04-30 18:50:05.226: I/org.openscenegraph.osg.viewer.JNIViewer(11567): CullSettings::readEnvironmentalVariables()
04-30 18:50:05.226: I/org.openscenegraph.osg.viewer.JNIViewer(11567): CullSettings::readEnvironmentalVariables()
04-30 18:50:05.226: I/org.openscenegraph.osg.viewer.JNIViewer(11567): CullSettings::readEnvironmentalVariables()
04-30 18:50:05.226: I/org.openscenegraph.osg.viewer.JNIViewer(11567): CullSettings::readEnvironmentalVariables()
04-30 18:50:05.226: I/org.openscenegraph.osg.viewer.JNIViewer(11567): CullSettings::readEnvironmentalVariables()
04-30 18:50:05.226: I/org.openscenegraph.osg.viewer.JNIViewer(11567): ShaderComposer::ShaderComposer() 0x70513830
04-30 18:50:05.226: I/org.openscenegraph.osg.viewer.JNIViewer(11567): ShaderComposer::ShaderComposer() 0x70513ba0
04-30 18:50:05.227: I/org.openscenegraph.osg.viewer.JNIViewer(11567): View::setSceneData() Reusing existing scene0x70526418
04-30 18:50:05.227: I/org.openscenegraph.osg.viewer.JNIViewer(11567): OSG Version:3.3.8
04-30 18:50:05.227: I/org.openscenegraph.osg.viewer.JNIViewer(11567): CullSettings::readEnvironmentalVariables()
04-30 18:50:05.227: I/org.openscenegraph.osg.viewer.JNIViewer(11567): CullSettings::readEnvironmentalVariables()
04-30 18:50:05.227: I/org.openscenegraph.osg.viewer.JNIViewer(11567): CullSettings::readEnvironmentalVariables()
04-30 18:50:05.227: I/org.openscenegraph.osg.viewer.JNIViewer(11567): CullSettings::readEnvironmentalVariables()
04-30 18:50:05.227: I/org.openscenegraph.osg.viewer.JNIViewer(11567): CullSettings::readEnvironmentalVariables()
04-30 18:50:05.227: I/org.openscenegraph.osg.viewer.JNIViewer(11567): ShaderComposer::ShaderComposer() 0x70513f60
04-30 18:50:05.227: I/org.openscenegraph.osg.viewer.JNIViewer(11567): ShaderComposer::ShaderComposer() 0x70529330
04-30 18:50:05.650: I/org.openscenegraph.osg.viewer.JNIViewer(11567): Warning: dynamic library 'osgPlugins-3.3.8/osgdb_osg.so' does not exist (or isn't readable):
04-30 18:50:05.650: I/org.openscenegraph.osg.viewer.JNIViewer(11567): dlopen failed: library "osgPlugins-3.3.8/osgdb_osg.so" not found
04-30 18:50:05.650: I/org.openscenegraph.osg.viewer.JNIViewer(11567): DynamicLibrary::failed loading "osgPlugins-3.3.8/osgdb_osg.so"
04-30 18:50:05.650: W/org.openscenegraph.osg.viewer.JNIViewer(11567): No data loaded
04-30 18:50:05.650: E/org.openscenegraph.osg.db.JNIosgDB(11567): Error loading scene
04-30 18:50:05.650: W/OSGActivity(11567): Attempt to invoke virtual method 'long org.openscenegraph.osg.core.Node.getNativePtr()' on a null object reference
04-30 18:50:05.658: D/OpenGLRenderer(11567): Render dirty regions requested: true
04-30 18:50:05.660: D/Atlas(11567): Validating map...
04-30 18:50:05.709: D/NvOsDebugPrintf(11567): NvRmPrivGetChipPlatform: Could not read platform information 
04-30 18:50:05.709: D/NvOsDebugPrintf(11567): Expected on kernels without fuse support, using silicon
04-30 18:50:05.730: I/OpenGLRenderer(11567): Initialized EGL, version 1.4
04-30 18:50:05.781: D/OpenGLRenderer(11567): Enabling debug mode 0
04-30 18:50:05.930: V/RenderScript(11567): Application requested CPU execution
04-30 18:50:05.934: V/RenderScript(11567): 0x789cae00 Launching thread(s), CPUs 4

where do I have to copy the osgPlugins-3.3.8 folder to so to make that all work ?

I'm already quite happy it made it through the compilation - nice effort guys!

Cheers,
Christian

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=63589#63589








More information about the osg-users mailing list