[osg-users] Android osgPlugins

Jan Ciger jan.ciger at gmail.com
Sat Aug 8 03:42:22 PDT 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/08/15 23:50, Christian Kehl wrote:
> What I deduct from that: something went wrong when compiling OSG
> 3.3.8 for Android with the plugins, as the static libraries
> (osgdb_jpeg, osgdb_gif, osgdb_curl) do not properly link to their
> pre-compiled library counterparts (libjpeg, libgif, libcurl, etc.)
> 
> Jan, Rafa - the community: a) Did you try out to build osgAndroid
> with plugins ? Did you get the same problems ? b) Any idea how to
> circumvent the problem ?

I suspect that the:

LOCAL_STATIC_LIBRARIES := -ljpeg -lgif -lpng -lcurl -ltiff

doesn't actually work like this. The arguments should be prebuilt
modules, not linker arguments. Yay for the abomination that is the NDK
build system. I have also wasted time on this.

See here:

http://stackoverflow.com/questions/5463518/android-ndk-link-using-a-pre-
compiled-static-library

J.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iD4DBQFVxd0On11XseNj94gRAiK5AKCxafeRG7/wt6xqMjnH8WGJSkE/xgCYkYi/
PETHomFvHndaRSsILEpipw==
=6Xmv
-----END PGP SIGNATURE-----



More information about the osg-users mailing list