<div dir="ltr">Hi Christian,<div><br></div><div>Since osgAndroid is in github, the best you can do is send a pull request with your changes, so I can review them, and easily apply them.</div><div><br></div><div>Thanks for your efforts!</div><div>Rafa.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">El jue., 20 ago. 2015 a las 22:20, Christian Kehl (<<a href="mailto:christian-kehl@web.de">christian-kehl@web.de</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
In the meanwhile, I was working further on the topic - and cracked it this time, I think. First and foremost, I use OpenSceneGraph 3.3.8 (still) and compile it for Android, while having the necessary 3rdParty-folder inside the OpenSceneGraph root folder (little suggestion: at some point this may be changed in the makefiles to search that folder by environment variable path, such as the data folder ...). I just define the GLES profile and the android platform and build it. Next:<br>
<br>
A) For generating the PREBUILT_STATIC_LIBRARY, I took a sip from the OpenCV recipe that defines a local mk-file function that builds each 3rd Party dependency for the android package.<br>
<br>
B) These local prebuilds are then referred to via "LOCAL_WHOLE_STATIC_LIBRARIES", which is necessary so that the ndk-build linker finds all referred functions. That's the actual behaviour I kind'a expected in any case for a STATIC library (containing all content), bust as Jan pointed out: Android NDK - you'll never know what you get :D<br>
<br>
This way, it works for me now, as I can load osg.Image() within Android using a jpeg image, in order to texture a geometry.<br>
<br>
Manual and code submission are still on my agenda. The appended make file is afree-for-all to try out - just take the ".txt" extension away.<br>
<br>
Cheers,<br>
Christian<br>
<br>
------------------<br>
Read this topic online here:<br>
<a href="http://forum.openscenegraph.org/viewtopic.php?p=64855#64855" rel="noreferrer" target="_blank">http://forum.openscenegraph.org/viewtopic.php?p=64855#64855</a><br>
<br>
<br>
<br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</blockquote></div>