Replies: 2 comments 1 reply
-
mkdir build |
Beta Was this translation helpful? Give feedback.
-
To fix this issue, follow these steps to download and set up the Android NDK for Termux:
I had the same problem when I tried to build Ollama with Go, and this solution resolved my issue. Try building it again, it should work rn. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
When trying to build for Android:

I was following this guide: https://github.com/JackZeng0208/llama.cpp-android-tutorial
I found execinfo.h is not included in the Android NDK so something must've been changed with the project in the 10 months since that guide was written to stop it building for Android.
Then I follow for your guide:

https://github.com/ggerganov/llama.cpp/blob/master/docs/android.md
As I thought, trying to run a cmake from an empty directory didn't work. Seems there are some steps missing.
Where can I get the make files for an Android build?
Beta Was this translation helpful? Give feedback.
All reactions