-
Notifications
You must be signed in to change notification settings - Fork 577
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Builds failing after upgrading to NDK 22.0.7026061 #443
Comments
There seems to be some change in how the sysroot headers are packaged:
|
The NDK now also comes with a proper cross compiler directory structure, so we might as well use that: Updating the properties like this, for example, in the case for android-x86_64, seems to work for me:
What about you? |
I'm trying it now, but I'm still struggling with the issue in #341 (comment) I don't use maven, I have a simple makefile that runs a command as follows:
As part of this invocation, I want to add my own linker and header paths. The only way I can see to do this is using |
Right, it's not really made to be used on the command line like that... We'd have to update the command line interface with options similar to |
You could also probably use |
Unfortunately that doesn't scale up for me, since I'm running this across 4 architectures and multiple libraries, each of which has a different set of include/link paths following a specific pattern. If you can describe how you'd like to support this use-case, I am happy to open a PR with an implementation as this is becoming quite a hassle on my end. That said, I did try what you suggested with a single lib/arch and it does work as expected using |
Ok, great! Let's at least get that in. Please send a pull request :) |
Looks like I mis-spoke. I didn't have NDK r22 on my dev machine. Once I upgraded, it's failing in the same way as I experienced before on my deployment infrastructure, with confusing stdint errors:
My guess earlier was this had to do with the fact that the sysroot directory is missing, but If I look at the contents of that |
Maybe it's the |
I tried |
Removing
So |
We probably don't need any of those flags with the standalone version of Clang anymore. |
I'm thinking we could move |
Sounds good to me. I'm making some progress figuring out what has to go inside these new properties files, but am getting stuck on this error:
I think it has to do with link order. Even though I'm using If I put |
Scratch that, the issue is with the inclusion of |
Everything is working for me again with #444 and NDK r22 As an added bonus, linkpath and includepath are now empty by default so it's trivial for me to put my custom paths in there. |
The text was updated successfully, but these errors were encountered: