On Thu, Nov 13, 2014 at 05:51:00PM +0100, Rafa Gaitan wrote:
> Hi Julius,
> 
> Seems that the ndk is not finding the libraries in the path.
> 
> Are the generated .a files in this path?
> -L/home/jus/working/osg/osg/build_gles1/lib
> 
> Is OSG generated with armeabi?, I think the ndk sets the armeabi-v7 version
> by default, and osgAndroid is configured with armeabi in the Application.mk
> maybe that is giving some troubles.
> 
> Rafa.

OK, now all the builds seem fine so far.  I'm now trying to use the osgsimple
example application. Do i need to copy libs from the org.openscenegraph.android
project?  Building of the example android app succeeded, but i get the following
runtime errors. 

11-18 13:35:34.280: D/dalvikvm(7238): Added shared lib 
/data/app-lib/org.openscenegraph.osgsimple-1/libjniosg-gles1.so 0x42655be0
11-18 13:35:34.280: D/dalvikvm(7238): No JNI_OnLoad found in 
/data/app-lib/org.openscenegraph.osgsimple-1/libjniosg-gles1.so 0x42655be0, 
skipping init
...
11-18 13:35:34.300: I/org.openscenegraph.osg.viewer.JNIViewer(7238): Warning: 
dynamic library 'osgPlugins-3.3.3/osgdb_osg.so' does not exist (or isn't 
readable):
11-18 13:35:34.300: I/org.openscenegraph.osg.viewer.JNIViewer(7238): dlopen 
failed: library "osgPlugins-3.3.3/osgdb_osg.so" not found
11-18 13:35:34.300: I/org.openscenegraph.osg.viewer.JNIViewer(7238): 
DynamicLibrary::failed loading "osgPlugins-3.3.3/osgdb_osg.so"
11-18 13:35:34.300: E/org.openscenegraph.osg.db.JNIosgDB(7238): Error loading 
scene
...
11-18 13:35:34.310: E/AndroidRuntime(7238): FATAL EXCEPTION: main
11-18 13:35:34.310: E/AndroidRuntime(7238): Process: 
org.openscenegraph.osgsimple, PID: 7238
11-18 13:35:34.310: E/AndroidRuntime(7238): java.lang.RuntimeException: Unable 
to start activity 
ComponentInfo{org.openscenegraph.osgsimple/org.openscenegraph.osgsimple.OSGActivity}:
 java.lang.NullPointerException: println needs a message

Thanks a lot,
Julius

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to