kivent icon indicating copy to clipboard operation
kivent copied to clipboard

Buildozer doesn't compile kivent example

Open sergeLabo opened this issue 7 years ago • 1 comments

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 ?

sergeLabo avatar Jan 31 '18 12:01 sergeLabo

Can you try it with python2?

LarsDu avatar May 16 '18 16:05 LarsDu