Compiling via cmake with termux on Android os. #649
Replies: 2 comments
-
Oh, I see. Looks like an issue with older versions of CMake. Android unfortunately uses an ancient version, CMake 3.10. We have the intention to support this, but we don't actively test it enough, evidently. As a workaround in the mean time, it should be possible to use a newer CMake version with Android, see some resources here: #198 (comment) If you could look into this to see if there are some not-too-invasive fixes, it would be great with a pull request! By the way, could you format the command and logs a bit better? It was quite hard to read like this, so that would be very helpful to others who come by. Then looking over it again, I'm not sure if this actually relates to the Android NDK? It looks perhaps like it is not related to the CMake version, but rather limited CMake functionality on Android itself. Hm, let us know what you figure out. |
Beta Was this translation helpful? Give feedback.
-
This patch temporarily fixes the cmake errors when generating rmlui with Termux on Android. |
Beta Was this translation helpful? Give feedback.
-
Hey there, ran into a small issues with the new cmake modernization. Previously, cmake would successfully build with termux on Android devices. Running in to a small error that should be an easy fix.
I need to study up on the newer cmake features used. I'll dig around a little bit when I get time. Once I get a chance to solve this last issue, I'll have a self building package manager app available that can build rmlui and all resources from scratch on any standard operating system unattended.
Beta Was this translation helpful? Give feedback.
All reactions