Comments (18)
Can you put the whole log? there is likely an error before that triggers this.
from python-for-android.
The whole log -> http://paste.desdelinux.net/4662
and i use api version 9 (NDK also include the 3, 4, 5, 8 and 14, y try with 8 too)
from python-for-android.
this log is truncated, try with another paste site paste.ubuntu.com for example.
from python-for-android.
http://paste.ubuntu.com/1367510/
It's the complete log
from python-for-android.
here is another build fail log for SHA: c98bec6
http://paste.ubuntu.com/1380444/
from python-for-android.
Hi try the ndkr8c branch. git pull, git checkout ndkr8c then re-compile
from python-for-android.
Ok, tomorrow i try
from python-for-android.
Finally works ^^
from python-for-android.
thx, works like a charm now
from python-for-android.
Here is my log, anybody help me...
http://paste.ubuntu.com/1385606/
from python-for-android.
Hans2011,
Go-to the pthon-for-android directory,
run the following commands
git pull
git checkout ndkr8c
now re-run distribute.sh...
from python-for-android.
Akshayaurora,
Thx, the jpeg/jidctfst.S is ok.
I meet another issue with zlib.h
http://paste.ubuntu.com/1387283/
I tried to copy the subfold's Zlib.h and zconf.h into the folder of zlibmodule.c, but
http://paste.ubuntu.com/1387315/
gcc -pthread -Xlinker -export-dynamic -o python
Modules/python.o
libpython2.7.a -lpthread -ldl -lutil -L/usr/local/lib -lz -lm
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
from python-for-android.
Could you start fresh? git clean -dxf(usual warning about this deleting any
uncommitted changes) and then restart your distribution build,
see if that helps.
On Mon, Nov 26, 2012 at 10:05 AM, Hans2011 [email protected] wrote:
Akshayaurora,
Thx, the jpeg/jidctfst.S is ok.I meet another issue with zlib.h
http://paste.ubuntu.com/1387283/I tried to copy the subfold's Zlib.h and zconf.h into the folder of
zlibmodule.c, but
http://paste.ubuntu.com/1387315/gcc -pthread -Xlinker -export-dynamic -o python
Modules/python.o
libpython2.7.a -lpthread -ldl -lutil -L/usr/local/lib -lz -lm/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status—
Reply to this email directly or view it on GitHubhttps://github.com//issues/66#issuecomment-10704384.
from python-for-android.
The cleaning seems not works.
The Zlib issue is ok when i installed the jpeg lib.
anyway thank you very much!
sudo apt-get install libjpeg8 libjpeg62-dev libfreetype6 libfreetype6-dev
sudo ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib/
sudo ln -s /usr/lib/x86_64-linux-gnu/libfreetype.so /usr/lib/
sudo ln -s /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/
from python-for-android.
would make sense to have a step in the recipes checking for build dependencies, opened a new issue #68
from python-for-android.
Alternatively,
you could just keep using the master branch and overwrite src/jni/jpeg
folder files with
files from: https://github.com/android/platform_external_jpeg
If you run into any issues regarding jmem-ashmem.c compilation, just change the memory manager in src/jni/jpeg/Android.mk
back to jmem-android.c
In other words, your Android.mk should have something like this:
# keep this section commented
# use ashmem as libjpeg decoder's backing store
#LOCAL_CFLAGS += -DUSE_ANDROID_ASHMEM
#LOCAL_SRC_FILES += \
#jmem-ashmem.c
# keep this section uncommented
# the original android memory manager.
# use sdcard as libjpeg decoder's backing store
LOCAL_SRC_FILES += \
jmem-android.c
Now ./distribute.sh -m "kivy pil"
should work fine.
from python-for-android.
I solved the problem doing what this post explain:
http://stackoverflow.com/questions/14366630/getting-this-error-while-building-andriod-ndk/14913754#14913754
from python-for-android.
This was merged into master some time ago and such you shouldn't need to use this branch and the error shouldn't arise if you have the latest master.
from python-for-android.
Related Issues (20)
- Recipe for SpaCy HOT 1
- com.android.build.gradle.internal.tasks.CompressAssetsWorkAction: Java heap space HOT 1
- How to build a pyside6 project into an apk HOT 1
- push notification for android? need permission ACTION_APP_NOTIFICATION_SETTINGS HOT 2
- Didn't find class "org.kivy.android.PythonActivity$PermissionsCallback" HOT 1
- Questions about Copilot + Open Source Software Hierarchy
- Reportlab recipe HOT 2
- ask HOT 1
- please add uvloop to recipes! HOT 1
- Recipe for mediapipe required to execute python code on android HOT 2
- OpenJDK 11 incompatibility beacuse of Gradle 8.x / cannot build apk on WSL v1 HOT 4
- Add a recipe for `orjson` HOT 3
- Mock assertion issue with ICU recipe under Python 3.12 HOT 3
- Fix screen orientation of PythonActivity.java
- Add the recipe for jsonrpcserver module
- #error "LONG_BIT definition appears wrong for platform (bad gcc/glibc config?)."
- error: command '/home/lumina/.buildozer/android/platform/android-ndk-r25b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang' failed with exit code 1 HOT 2
- Add the recipe for yt-dlp module
- Add recipe `pyreqwest_impersonate` HOT 27
- :rocket: Action plan for hosting prebuilt wheels
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-for-android.