Problem cross compiling for Android. [13697] #2545
Replies: 6 comments 8 replies
-
I am going to move this issue to the Unofficial support forum. According to the CONTRIBUTING guidelines, issues related with non-officially supported platforms, architectures and/or compilers should be discussed over that forum. |
Beta Was this translation helpful? Give feedback.
-
Hi, I share below a Dockerfile that builds the library for Android successfully. I have not tested the built library, and some of the build options might be unnecessary, but I share here in case someone wants to build the library for Android:
|
Beta Was this translation helpful? Give feedback.
-
I share my android compilation script.
|
Beta Was this translation helpful? Give feedback.
-
#3069 I have submitted a issue about this question,hope someon can help me solve my problem. |
Beta Was this translation helpful? Give feedback.
-
@jingTian-z Hi bro,can you help me compile x86 libraries as a test?it seems different NDK version has different result here. |
Beta Was this translation helpful? Give feedback.
-
I use "-DTinyXML2_DIR=/usr/local/lib/cmake/tinyxml2", it is ok! |
Beta Was this translation helpful? Give feedback.
-
Hi, I am trying to compile fast dds libraries to use them in an android application. But I am having some difficulties. I will report the steps I've done so far.
Using quemu 6.1.0 as cross compiler emulator.
The configuration of this package gave me a warning:
The configuration is successful but I can't manually specify the location of tinyxml2.
I get the following warning as output and the library is automatically downloaded to thirdparty
than during the build i got this error:
Unfortunately, I am not an expert in cross compilation.
Could someone who managed to compile fast dds for android help me?
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions