Can't compile 1.9 master

488 views
Skip to first unread message

Carsten Thielepape

unread,
Feb 12, 2015, 4:24:36 AM2/12/15
to kivy-...@googlegroups.com
Hello,
 
I need to change to the 1.9 dev version as I need some bug fixes made here.
 
For Android I understood I need to setup a complete new Ubuntu VM as 1.0 will not compile on 12.04 anymore. I've done this, app is still not running, but this seems to be an app issue.
 
For Windows, I
  • dowloaded the windows packaged,
  • pulled the master from git,
  • renamend it to kivy
  • updated cython (pip install --upgrade cython)
  • and try to to compile it (make force)
I get the error:
 
C:\dev\Kivy\MinGW\bin\gcc.exe -mno-cygwin -shared -s build\temp.win32-2.7\Release\kivy\graphics\transformation.o build\temp.win32-2.7\Release\kivy\gra
phics\transformation.def -LC:\dev\Kivy\Python27\libs -LC:\dev\Kivy\Python27\PCbuild -lopengl32 -lglew32 -lpython27 -lmsvcr90 -o C:\dev\Kivy\kivy\kivy\
graphics\transformation.pyd -lm
cythoning kivy\graphics/vbo.pyx to kivy\graphics\vbo.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:27: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:123:19: Previous declaration is here
building 'kivy.graphics.vbo' extension
C:\dev\Kivy\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\dev\Kivy\Python27\include -IC:\dev\Kivy\Python27\PC -c kivy\graphics\vbo.c -o build\temp
.win32-2.7\Release\kivy\graphics\vbo.o
kivy\graphics\vbo.c:1:2: #error Do not use this file, it is the result of a failed Cython compilation.
 error: command 'gcc' failed with exit status 1
make: *** [force] Error 1
 
 
Any ideas how to fix this or how to use the master?
 
Thanks in advance
 

Andrei Sima

unread,
Feb 12, 2015, 5:45:37 AM2/12/15
to kivy-...@googlegroups.com
@ Kivy Developers
Is the issue with Cython 0.21 fixed on Kivy 1.9 ?
I can not compile a single app in Kivy 1.8 with cython 0.21. I allways downgrade to 0.20

Carsten Thielepape
Try do downgrade to Cython 0.20 and see if that helps.

remove the .buildozer folders (fresh new ones will be created)

pip uninstall cython 
pip install cython 0.20

retry.

Hope it helps


random life

Carsten Thielepape

unread,
Feb 12, 2015, 6:04:39 AM2/12/15
to kivy-...@googlegroups.com
Hall Andrei,
 
downgrading helped! (no buildozer on Windows...) :-)
 
Thanks a lot. Maybe to docs should be updated....

Andrei Sima

unread,
Feb 12, 2015, 7:34:23 AM2/12/15
to kivy-...@googlegroups.com
Install a Linux Distro VM machine. Or better a Linux Partition where you can install the Linux Distro that u fancy. And that is your own sandbox to play in. :)

Windows can be a little hard to maintain from python point of view. I tried once and i just simply quit. Way to complicated for me.

"Maybe to docs should be updated...."
I think they have more issues on the head right now than updating the docs.

And that doc i think is from 0.19.x  cython. 





--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

______________
random life
Reply all
Reply to author
Forward
0 new messages