Hi, I have compiled OSG for Android, and built and deployed the GLES2 Android example on my Nexus 4. However I'm having trouble loading cow.osg, or any other .osg/.osgt files, to test that it works. I've built OSG for Android in the past and had these models working but this time around I'm not able to load any models at all. I get the following warnings from logcat:
01-09 16:46:11.812: E/Osg Viewer(18327): There are 1 models to load 01-09 16:46:11.812: E/Osg Viewer(18327): Loading: /storage/emulated/0/cow.osgt 01-09 16:46:11.812: D/Osg Viewer(18327): FindFileInPath(/storage/emulated/0/cow.osgt): returning /storage/emulated/0/cow.osgt 01-09 16:46:11.812: D/Osg Viewer(18327): itr='/vendor/lib' 01-09 16:46:11.812: D/Osg Viewer(18327): FindFileInPath() : trying /vendor/lib/osgPlugins-3.2.1/osgdb_osg.so ... 01-09 16:46:11.812: D/Osg Viewer(18327): itr='/system/lib' 01-09 16:46:11.812: D/Osg Viewer(18327): FindFileInPath() : trying /system/lib/osgPlugins-3.2.1/osgdb_osg.so ... 01-09 16:46:11.812: D/Osg Viewer(18327): itr='/usr/lib/' 01-09 16:46:11.812: D/Osg Viewer(18327): FindFileInPath() : trying /usr/lib/osgPlugins-3.2.1/osgdb_osg.so ... 01-09 16:46:11.812: D/Osg Viewer(18327): itr='/usr/local/lib/' 01-09 16:46:11.812: D/Osg Viewer(18327): FindFileInPath() : trying /usr/local/lib/osgPlugins-3.2.1/osgdb_osg.so ... 01-09 16:46:11.812: D/Osg Viewer(18327): itr='/vendor/lib' 01-09 16:46:11.812: D/Osg Viewer(18327): FindFileInPath() : trying /vendor/lib/osgdb_osg.so ... 01-09 16:46:11.812: D/Osg Viewer(18327): itr='/system/lib' 01-09 16:46:11.812: D/Osg Viewer(18327): FindFileInPath() : trying /system/lib/osgdb_osg.so ... 01-09 16:46:11.812: D/Osg Viewer(18327): itr='/usr/lib/' 01-09 16:46:11.812: D/Osg Viewer(18327): FindFileInPath() : trying /usr/lib/osgdb_osg.so ... 01-09 16:46:11.812: D/Osg Viewer(18327): itr='/usr/local/lib/' 01-09 16:46:11.812: D/Osg Viewer(18327): FindFileInPath() : trying /usr/local/lib/osgdb_osg.so ... 01-09 16:46:11.812: I/Osg Viewer(18327): Warning: dynamic library 'osgPlugins-3.2.1/osgdb_osg.so' does not exist (or isn't readable): 01-09 16:46:11.812: I/Osg Viewer(18327): dlopen failed: library "osgPlugins-3.2.1/osgdb_osg.so" not found 01-09 16:46:11.812: I/Osg Viewer(18327): DynamicLibrary::failed loading "osgPlugins-3.2.1/osgdb_osg.so" 01-09 16:46:11.812: E/Osg Viewer(18327): Model not loaded Now I thought I didn't have to do anything special last time to load an .osg file but I'm wondering what I've missed? My Android.mk file just has the standard set OSG_ANDROID_DIR and add path/to/libgnustl_static.a in LOCAL_LDLIBS modifications. I'm working with OSG branch 3.2 on Fedora, with ndk-r9c. Any help would be greatly appreciated. Thanks, Nathan Nathan Collins Software Engineer ________________________________ Have you downloaded your FREE copy of FieldMove Clino? Find out more about our app for iPhone and Android smartphones: http://news.mve.com/fieldmoveclino Midland Valley Exploration Ltd. 144 West George Street Glasgow G2 2HG United Kingdom Tel: +44 (0) 141 332 2681 Fax: +44 (0) 141 332 6792 The structural geology experts
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

