Skip to content
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

How to cross-compile the xraylib code to used on Android #237

Open
lcs115 opened this issue Mar 9, 2024 · 1 comment
Open

How to cross-compile the xraylib code to used on Android #237

lcs115 opened this issue Mar 9, 2024 · 1 comment

Comments

@lcs115
Copy link

lcs115 commented Mar 9, 2024

my development environment is ubuntu18.04 64bit,+ android 10.
After unpacking the distribution, input the following command:
"./configure --enable-static --enable-shared --host=arm-linux-androideabi"
the following error message is displayed:
“configure: error: A platform was detected that is not supported for cross-compilation”。

@tschoonj
Copy link
Owner

tschoonj commented Mar 9, 2024

For cross-compilation, I would strongly encourage you to use meson/ninja. More information can be found here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants