-
Notifications
You must be signed in to change notification settings - Fork 1.2k
buck fails to include SLES/OpenSLES.h with the android-ndk-r10e #306
Comments
I'm downloading the new NDK now to figure out what changed. |
Hmm, the headers are there in both cases. A couple of questions to make sure this isn't a bug still:
|
Thank you for looking into this sdwilsh! I'm using ndk_library(), and I've tried keeping all the changes that should have (but did not) work with r10e, and replacing the files of the r10e folder with the ones of r10d: with this 'faked' r10e it worked. So, something in android-ndk-r10e is breaking buck (or at least my buck). I'll try to reproduce it in a modified |
Well, with a modified |
Hmm, okay. This looks like a support issue then, so I'm going to close it and encourage you to use Stack Overflow (just tag it with Buck and I'll see it). Thanks for filing this though since you thought you had a bug, and if you happen to find a bug, feel free to post here and I'll reopen it. |
I've had a bit more time to look into this. (I'm writing this here because I feel it's a bit too specific for stackoverflow.com, and it looks like a bug in either buck or android-ndk.) I was able to reproduce the problem in a minimal I've narrowed the cause of the problem down to one of the arguments buck passes to ndk-build: When this arg is passed to the r10e Using
versus r10e:
So, with r10e, APP_PROJECT_PATH is causing ndk-build to not see Application.mk anymore and use default values for APP_PLATFORM. I believe the behaviour is due to a 17-line segment of code added by the Android devs at line 93 in |
Do you have an |
Yup, there's the |
Shawn, would it be worth reopening this? I believe it's a genuine bug, and seems like a significant one. |
I thought it was open again :) I need to spend some time figuring out what a compatible fix is, but your investigation should help a lot. I may not get to it this week, however :/ |
No problem, as long as it's on the radar somewhere! :) Thank you. |
Im hitting the same problem with r10e. Updated (1/15/16): Still seen on top of master 3c42b08 |
I have a project that uses OpenSL ES. Building worked fine with android-ndk-r10d, but fails with the newly released r10e:
To switch between the two NDK versions, I change the ndk.dir in local.properties. Is there something else I should also be changing maybe?
The text was updated successfully, but these errors were encountered: