<div dir="ltr"><div>I'll try to get all the nightly build boxes moved over to fb 1.04 or newer this week.<br><br>---<br></div>James<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Sep 10, 2016 at 9:48 AM, Ralph Versteegen <span dir="ltr"><<a href="mailto:teeemcee@gmail.com" target="_blank">teeemcee@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Yes, you will need to append that last line. Wow, I didn't realise android builds have been broken for so long!<br><br>Actually, we are really close to being able to compile libapplication.so for android directly from scons; even fbc can now produce working android binaries directly. Another option would be to compile it with ndk-build ourselves (which is easy, because we already have the necessary .mk files provided by the commandergenius port). Plus with Chrono/Kevin's ohrrpgce-android packager (which compiles the java code), the only thing we would need commandergenius for is to compile libsdl.so. But, it's probably not worth the effort of changing our build system much just for that; letting people create .apks themselves would be nice though.<br><br></div><div>Also, I have been working on some major changes to the sconscript, so that it can do general cross-compiling instead of just supporting android as a special case. To actually use it you would need a cross-compiling toolchain, and unfortunately I don't know if it's even possible to set one up to target OSX, but I think all other platforms are easy.<br><br></div><div>You can now get FB 1.06 for android, see <a href="http://rpg.hamsterrepublic.com/ohrrpgce/Compiling_for_Android" target="_blank">http://rpg.hamsterrepublic.<wbr>com/ohrrpgce/Compiling_for_<wbr>Android</a><br></div><div>So, I can now start using modern FB features. Inheritance! Polymorphism! Runtime type checking! Properties! Dynamic arrays in UDTs! Length zero arrays! It looks like FB 1.00 was the first to have all of those, but requiring FB 1.04 is a good target, since it made a lot of significant changes, including retranslating most headers, which made supporting 1.04 and 1.03 simultaneously painful.<br></div><div><div class="h5"><br><div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 10 September 2016 at 06:18, James Paige <span dir="ltr"><<a href="mailto:Bob@hamsterrepublic.com" target="_blank">Bob@hamsterrepublic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div>Awesome! I just tested and it is working great now. Thank you so much for fixing this!<br><br></div>Am I correct to guess that I will need to apply the changes to AndroidAppSettings.cfg to all the copies of that file that I have for each different game that has been compiled as a standalone apk?<br><br>---<br></div>James<br><div><br></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Sep 9, 2016 at 9:42 AM,  <span dir="ltr"><<a href="mailto:subversion@hamsterrepublic.com" target="_blank">subversion@hamsterrepublic.co<wbr>m</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">teeemcee<br>
2016-09-09 09:42:00 -0700 (Fri, 09 Sep 2016)<br>
411<br>
Fix android builds segfaulting. ndk-build was compiling filelayer.cpp without -DFBCVERSION.<br>
<br>
This causes the wrong struct definitions to get used for FB internals.<br>
Broken since OPENFILE added in r9000.<br>
<br>
It wasn't just -DFBCVERSION, all CFLAGS were omitted. They are now included<br>
by android/AndroidAppSettings.cfg<wbr>.<br>
This means that the level of optimisation selected with scons debug=#<br>
now affects android builds.<br>
---<br>
U   wip/SConscript<br>
U   wip/android/AndroidAppSetting<wbr>s.cfg<br>
U   wip/fb/fb_stub.h<br>
U   wip/ohrbuild.py<br>
______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.o<wbr>rg</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org<wbr>/listinfo.cgi/ohrrpgce-motherh<wbr>amster.org</a><br>
</blockquote></div><br></div>
</div></div><br>______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.o<wbr>rg</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org<wbr>/listinfo.cgi/ohrrpgce-motherh<wbr>amster.org</a><br>
<br></blockquote></div><br></div></div></div></div></div></div></div>
<br>______________________________<wbr>_________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org">ohrrpgce@lists.motherhamster.<wbr>org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.<wbr>org/listinfo.cgi/ohrrpgce-<wbr>motherhamster.org</a><br>
<br></blockquote></div><br></div>