tschoonj / xraylib

A library for X-ray matter interaction cross sections for X-ray fluorescence applications
https://github.com/tschoonj/xraylib/wiki
Other
120 stars 54 forks source link

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

Open lcs115 opened 3 months ago

lcs115 commented 3 months ago

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 commented 3 months ago

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