<div dir="ltr">On Mon, Aug 6, 2018 at 7:19 PM David Engel <<a href="mailto:david@istwok.net">david@istwok.net</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, Aug 05, 2018 at 05:44:01PM -0500, David Engel wrote:<br>
> On Sun, Aug 05, 2018 at 02:49:41PM -0600, John P Poet wrote:<br>
> > > > > which ndk?<br>
> > > > > I have validated 13b<br>
> > > > > 14 onwards has missing headers.<br>
> > > > > The other thing to check is your default environment. printenv.<br>
> > > > > Not sure otherwise.<br>
> > > ><br>
> > > > I vaguely remember some nl_langinfo problem, but not the solution.<br>
> > > > I'm searching my old emails.  I'll reply if find something.<br>
> > ><br>
> > > My search didn't yield anything.  As Mark said, make sure you're using<br>
> > > the currently, preferred NDK.  Also, make sure you run "./makelibs.sh<br>
> > > all" instead of simply "./makelibs.sh".  I know that tripped me up at<br>
> > > first.<br>
> > ><br>
> > <br>
> > I downloaded and linked r13b.  That seems to mess up the toolchain.  Even<br>
> > after re-running maketoolchain.sh, I got:<br>
> > * /home/john/android/android-ndk/my-android-toolchain64/bin/aarch64-linux-android-gcc:<br>
> > Command not found*<br>
> <br>
> I'll try to do a full install and build from scratch, but it won't be<br>
> until at least tomorrow.<br>
<br>
John,<br>
<br>
I did a full install of Android Studio/SDK/NDK and build of libs and<br>
mythfrontend today.  I updated the Readme.md to specify NDK r13b<br>
instead of r15c and removed a couple of very minor things that weren't<br>
necessary.  I also fixed a bug in makelibs.sh related to the recent<br>
library changes.  It all built and runs fine.<br>
<br>
I think the main problem you're having is trying to use the NDK<br>
installed by Android Studio.  Be sure to install the r13b (or r15c if<br>
you really want to) version manually as directed and I think you<br>
should be fine.<br>
<br>
We should eventually try to get builds to use the NDK installed by<br>
Android Studio, but that's a job for another day.<br>
<br>
David<br></blockquote><div><br></div><div>Hi David,</div><div><br></div><div>The instructions say <br></div><div>"After Android Studio is installed, <b>use it</b> to install the Android SDK and NDK."</div><div><br></div><div>It also says</div><div>"Install the desired SDK Tools.  CMake and the <b>NDK</b> are the main ones."  <br></div><div><br></div><div>It sounds like those statements needs to be changed.</div><div><br></div><div>The instructions also say</div><div>"For the NDK Get android-ndk-r13b-linux-x86_64.bin and install it in ~/android <b>too</b>."</div><div><br></div><div>That "<b>too</b>" implies that r13b also needs installed in ~/Android/Sdk/ as nkd-bundle?<br></div></div><div class="gmail_quote"><br><div>You are building it for Android version 26 (Oreo), right?</div><div><br></div><div>Thank you for your help with this!</div><div><br></div><div>John<br></div></div></div>