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

Add support for Cython 0.22 #3049

Closed
DragonSA opened this issue Feb 18, 2015 · 1 comment
Closed

Add support for Cython 0.22 #3049

DragonSA opened this issue Feb 18, 2015 · 1 comment

Comments

@DragonSA
Copy link
Contributor

Building with cython 0.22 currently fails with:

cythoning kivy/graphics/texture.pyx to kivy/graphics/texture.c

   Error compiling Cython file:
   ------------------------------------------------------------
   ...
       cpdef release(self)
       cpdef get_pixel_color(self, int wx, int wy)

       cdef void create_fbo(self)
       cdef void delete_fbo(self)
       cdef void apply(self)
                     ^
   ------------------------------------------------------------

   kivy/graphics/fbo.pxd:25:19: Signature not compatible with previous declaration

   Error compiling Cython file:
   ------------------------------------------------------------
   ...
       cdef void push_states(self, list names) except *
       cdef void pop_state(self, str name) except *
       cdef void pop_states(self, list names) except *
       cdef void enter(self) except *
       cdef void leave(self) except *
       cdef void apply(self) except *
                     ^
   ------------------------------------------------------------

   kivy/graphics/instructions.pxd:118:19: Previous declaration is here
  building 'kivy.graphics.texture' extension
  creating build
  creating build/temp.freebsd-11.0-CURRENT-amd64-2.7
  creating build/temp.freebsd-11.0-CURRENT-amd64-2.7/kivy
  creating build/temp.freebsd-11.0-CURRENT-amd64-2.7/kivy/graphics
  cc -DNDEBUG -O2 -pipe -fstack-protector -fPIC -I/usr/local/include -I/usr/local/include/python2.7 -c kivy/graphics/texture.c -o build/temp.freebsd-11.0-CURRENT-amd64-2.7/kivy/graphics/texture.o
  kivy/graphics/texture.c:1:2: 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.
   ^
  1 error generated.
   error: command 'cc' failed with exit status 1
@matham
Copy link
Member

matham commented Feb 19, 2015

Closing because this is a dup of #2805.

@matham matham closed this as completed Feb 19, 2015
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