[osg-users] Android osgPlugins

Christian Kehl christian-kehl at web.de
Mon May 25 10:00:35 PDT 2015


Hi Jan,

I join your thinking. The compilation is done using the cmake line from Rafa (see post  Sat May 02, 2015 7:48 am), and because it compiles OSG as static, I somehow doubt the compilation is wrong. That said, you may be right that the library is registered incorrectly. Thing is: I have multiple installs of OSG, as many of us do. One is the osg from the package manager, the other one is the android 3.3.8 OSG one, and then some more local ones. The funny point is that the Android.mk specifies all paths as absolute paths, so when one calls the ndk-build, it obviously takes the right libraries, as it always should. But when I run the osgSimple, I do this from Eclipse, which usually links the resources to the /usr/lib libraries. Because there are no compilation complains and because the osgAndroid project is statically referred to by osgSimple, it obviously takes that jar-file from its absolute destination. Question is: How do I tell the Android eclipse builder to link all inter-dep
 ending library files (osgPlugins-3.3.8) from a specific location and NOT to get them from the global /usr/lib location ? I am lacking the in-depth knowledge on how to configure the apk builder within Eclipse to change its behaviour. Any hint would be very much appreciated ...

Cheers,
Christian

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








More information about the osg-users mailing list