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

Issue in Cython file compilation and building kivy.graphics.vertex_instruction extentions #326

Closed
jayece09 opened this issue Feb 4, 2015 · 1 comment

Comments

@jayece09
Copy link

jayece09 commented Feb 4, 2015

Hi!
I am trying to build .apk file using python for android and Kivy. The error returned on multiple occasions even after changing versions of Cython:-
building 'kivy.graphics.vertex_instructions' extension
ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/jp/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm -DNDEBUG -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/jp/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm -fPIC -I/home/jp/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm/usr/include -I/home/jp/Desktop/test2/python-for-android/build/python-install/include/python2.7 -c kivy/graphics/vertex_instructions.c -o build/temp.linux-x86_64-2.7/kivy/graphics/vertex_instructions.o
kivy/graphics/vertex_instructions.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

Error compiling Cython file:

...
# perhaps tangents, what's the position on the spline for parameter t),
#
# b) make that a superclass Spline,
# c) create BezierSpline subclass that does the computation

cdef list _points
         ^

kivy/graphics/vertex_instructions.pyx:104:14: C attributes cannot be added in implementation part of extension type defined in a pxd

Error compiling Cython file:

...
# perhaps tangents, what's the position on the spline for parameter t),
#
# b) make that a superclass Spline,
# c) create BezierSpline subclass that does the computation

cdef list _points
         ^

@inclement
Copy link
Member

Closing since the issue is old and both kivy and p4a have changed a lot since then. If you experience this problem, please report it on the kivy-users or python-for-android mailing lists.

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