Skip to content
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

Buildozer doesn't compile kivent example #268

Open
sergeLabo opened this issue Jan 31, 2018 · 1 comment
Open

Buildozer doesn't compile kivent example #268

sergeLabo opened this issue Jan 31, 2018 · 1 comment

Comments

@sergeLabo
Copy link

I am trying to create apk with kivent/examples/16_svg_phys_objects

python 3.5
android.ndk = 10.3.2
buildozer from github, and install with python3 support such as readme

All my projects without kivent work.

In buildozer.spec
requirements = python3crystax==3.5,kivy,cymunk,kivent_core

I have this error: cannot find -lpython3.5m

The End:

build/temp.linux-x86_64-3.5/cymunk/Chipmunk-Physics/src/cpHashSet.o -o build/lib.linux-x86_64-3.5/cymunk/cymunk.cpython-35m-x86_64-linux-gnu.so
/home/pierre/crystax-ndk-10.3.2/toolchains/arm-linux-androideabi-5/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/5.3/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lpython3.5m
collect2: error: ld returned 1 exit status
error: command '/usr/bin/ccache' failed with exit status 1
INFO: STDERR:

cd /media/data/3D/projets/kivent/examples/16_svg_phys_objects/.buildozer/android/platform/build/build/other_builds/cymunk-python3crystax/armeabi-v7a/cymunk && /usr/bin/python3.5 setup.py build_ext -v

[WARNING]: ERROR: /usr/bin/python3.5 failed!
b"\x1b[0m\r working: cymunk/Chipmunk-Physics/src/cpBBTree.c:727:36: warning: function declaration isn't a prototype [-Wstrict-prototypes] \x1b[0m\r working: static inline cpSpatialIndexClass *Klass(){return &klass;} \x1b[0m\r working: ^ "b'\x1b[0m\r working: /usr/bin/ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=1...(and 1090 more) 'b"\x1b[0m\r working: cymunk/Chipmunk-Physics/src/cpSweep1D.c:24:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] \x1b[0m\r working: static inline cpSpatialIndexClass *Klass(); "b'\x1b[0m\r working: ^ 'b"\x1b[0m\r working: cymunk/Chipmunk-Physics/src/cpSweep1D.c:253:36: warning: function declaration isn't a prototype [-Wstrict-prototypes] "b'\x1b[0m\r working: static inline cpSpatialIndexClass *Klass(){return &klass;} 'b'\x1b[0m\r working: ^ 'b'\x1b[0m\r working: /usr/bin/ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=1...(and 1088 more) 'b'\x1b[0m\r working: /usr/bin/ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=1...(and 1096 more) 'b'\x1b[0m\r working: /usr/bin/ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=1...(and 1080 more) 'b'\x1b[0m\r working: /usr/bin/ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=1...(and 1086 more) 'b'\x1b[0m\r working: /usr/bin/ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=1...(and 1086 more) 'b'\x1b[0m\r working: /usr/bin/ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=1...(and 1084 more) 'b'\x1b[0m\r working: /usr/bin/ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=1...(and 1094 more) 'b'\x1b[0m\r working: /usr/bin/ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=1...(and 1104 more) 'b'\x1b[0m\r working: /usr/bin/ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=1...(and 1084 more) 'b'\x1b[0m\r working: /usr/bin/ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=1...(and 1090 more) 'b'\x1b[0m\r working: /usr/bin/ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer -D__ANDROID_API__=1...(and 3961 more) 'b'\x1b[0m\r working: /home/pierre/crystax-ndk-10.3.2/toolchains/arm-linux-androideabi-5/prebuilt/linux-x86_64/bin/../lib/gcc...(and 100 more) \x1b[0m\r working: collect2: error: ld returned 1 exit status 'b"\x1b[0m\r working: error: command '/usr/bin/ccache' failed with exit status 1 "b'\x1b[0m\r \r'# Command failed: /usr/bin/python3 -m pythonforandroid.toolchain create --dist_name=svg_phys --bootstrap=sdl2 --requirements=python3crystax==3.5,kivy,cymunk,kivent_core --arch armeabi-v7a --copy-libs --color=always --storage-dir=/media/data/3D/projets/kivent/examples/16_svg_phys_objects/.buildozer/android/platform/build

More at https://pastebin.com/wExdfsth

Does Buildozer work with kevent ?

@LarsDu
Copy link

LarsDu commented May 16, 2018

Can you try it with python2?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants