-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Trying to build pandas with buildozer results in missing headers errors #2626
Comments
Hi @aki-k , There's a chance that the I will keep the issue open, and tag it as "need-analysis", meanwhile, did you tried to use the latest stable version of |
I'm not sure where to set the version of python-for-android. Do you set it in the spec file as
|
Instead of |
I can confirm this is p4a=develop only, p4a=master is good.
|
Changing the NDK version to r19c fixed this problem for me (and also p4a.branch = master). |
Changing the NDK version to r19c and p4a.branch = master , the problems still exist..... |
I made it work in a bit different way: install as root: apt install --no-install-recommends autoconf automake install as user: pip3 install --user --upgrade Cython==0.29.19 virtualenv buildozer . ${HOME}/.profile git clone https://github.com/tshirtman/p4a_pandas_test edit p4a_pandas_test/buildozer.spec: android.ndk = 23b yes | buildozer android debug |
Software Versions
Describe the bug
I get missing header error messages with "buildozer android debug"
Expected behavior
I was expecting pandas to build into an APK file together with Kivy.
To Reproduce
I setup buildozer + needed Ubuntu packages and then I cloned https://github.com/tshirtman/p4a_pandas_test
Then I changed unpacked = 'android-ndk-r23c' and archive = 'android-ndk-r23c-linux.zip' in /home/aki/.local/lib/python3.8/site-packages/buildozer/targets/android.py
After that I ran buildozer android debug.
Code and Logs and screenshots
Here is my buildozer.spec and
build output
Additional context
I tried to fix the headers errors by modifying the code to #include "full path/limits.h" and got a little
further with the compile but I don't think it's the correct fix.
I tried to get help in Kivy discord but was unable to get the build working.
The text was updated successfully, but these errors were encountered: