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

# Command failed: ./distribute.sh -m "kivy" -d "myapp" #271

Closed
infitiatio opened this issue Sep 22, 2014 · 5 comments
Closed

# Command failed: ./distribute.sh -m "kivy" -d "myapp" #271

infitiatio opened this issue Sep 22, 2014 · 5 comments

Comments

@infitiatio
Copy link

I have already checked all forums including all posts on this one. Cython version is 0.21, SDK, ADT, and NDK are isntalled and other required software (as I hope so...). version = 1.0. It can't build this testing example, so... Nevertheless I am getting this error:
Generate config.h
Generate config.pxi
Detected compiler is unix
building 'kivy.graphics.shader' extension
ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/nomen_nescio/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm -DNDEBUG -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/nomen_nescio/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm -fPIC -I/home/nomen_nescio/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm/usr/include -I/home/nomen_nescio/.buildozer/android/platform/python-for-android/build/python-install/include/python2.7 -c kivy/graphics/shader.c -o build/temp.linux-i686-2.7/kivy/graphics/shader.o
kivy/graphics/shader.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.
#error Do not use this file, it is the result of a failed Cython compilation.
^
error: command 'ccache' failed with exit status 1

Command failed: ./distribute.sh -m "kivy" -d "myapp"

Thank you :)

@brousch
Copy link
Contributor

brousch commented Sep 22, 2014

Try Cython 0.20 instead of 0.21.

On Mon, Sep 22, 2014 at 10:06 AM, infitiatio notifications@github.com
wrote:

I have already checked all forums including all posts on this one. Cython
version is 0.21, SDK, ADT, and NDK are isntalled and other required
software (as I hope so...). version = 1.0. It can't build this testing
example, so... Nevertheless I am getting this error:
Generate config.h
Generate config.pxi
Detected compiler is unix
building 'kivy.graphics.shader' extension
ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer
--sysroot
/home/nomen_nescio/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm
-DNDEBUG -DANDROID -mandroid -fomit-frame-pointer --sysroot
/home/nomen_nescio/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm
-fPIC
-I/home/nomen_nescio/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm/usr/include
-I/home/nomen_nescio/.buildozer/android/platform/python-for-android/build/python-install/include/python2.7
-c kivy/graphics/shader.c -o
build/temp.linux-i686-2.7/kivy/graphics/shader.o
kivy/graphics/shader.c:1:2: error: #error Do not use this file, it is the
result of a failed Cython compilation.
#error Do not use this file, it is the result of a failed Cython
compilation.
^
error: command 'ccache' failed with exit status 1
Command failed: ./distribute.sh -m "kivy" -d "myapp"

Thank you :)


Reply to this email directly or view it on GitHub
#271.

Ben Rousch
brousch@gmail.com
http://clusterbleep.net/

@infitiatio
Copy link
Author

Thank you. It worked. Do you know, by the way, could we use python3 instead of python2?

@inclement
Copy link
Member

python-for-android doesn't support python3 yet, it needs more significant changes on the android end. p4a might support python3 before then, but your app would still need to support python2.

@infitiatio
Copy link
Author

Thank you all.. It worked, I thought something was wrong with my OS, because Ubuntu was having some issues while downloading, so I thought of uninstalling it. It compiled on MintDeb, but GUI just blinks once when interpreting. I will compile and check on android. Thank you once more :)

@tito
Copy link
Member

tito commented Sep 25, 2014

Yep, Kivy < 1.9 is not compatible with the latest Cython 0.21. Next version is.

@tito tito closed this as completed Sep 25, 2014
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

4 participants