Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dan@xc:~$
- dan@xc:~$
- dan@xc:~$ buildozer -v android debug
- # Check configuration tokens
- # Ensure build layout
- # Check configuration tokens
- # Preparing build
- # Check requirements for android
- # Run 'dpkg --version'
- # Cwd None
- Debian `dpkg' package management program version 1.17.5 (amd64).
- This is free software; see the GNU General Public License version 2 or
- later for copying conditions. There is NO warranty.
- # Search for Git (git)
- # -> found at /usr/bin/git
- # Search for Cython (cython)
- # -> found at /usr/local/bin/cython
- # Search for Java compiler (javac)
- # -> found at /usr/lib/jvm/java-7-openjdk-amd64/bin/javac
- # Search for Java keytool (keytool)
- # -> found at /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/keytool
- # Install platform
- # Apache ANT found at /home/dan/.buildozer/android/platform/apache-ant-1.9.4
- # Android SDK found at /home/dan/.buildozer/android/platform/android-sdk-21
- # Android NDK found at /home/dan/.buildozer/android/platform/android-ndk-r9c
- # Check application requirements
- # Run './distribute.sh -l'
- # Cwd /home/dan/.buildozer/android/platform/python-for-android
- Available modules: android apsw audiostream c_igraph cprotobuf cymunk django docutils ffmpeg gevent greenlet hostpython igraph jpeg kivent kivy libevent libpq libswift libxml2 libxslt libyaml lxml m2crypto msgpack mysql_connector netifaces numpy openssl paramiko pil plyer png polygon protobuf psutil psycopg2 pyasn1 pycrypto pygame pyjnius pylibpd pyopenssl pyparsing pyqrcode python pyyaml sdl setuptools sqlalchemy sqlite3 storm swift twisted txws wokkel zope
- # Application requirements already installed, pass
- # Check garden requirements
- # Compile platform
- # Run './distribute.sh -l'
- # Cwd /home/dan/.buildozer/android/platform/python-for-android
- Available modules: android apsw audiostream c_igraph cprotobuf cymunk django docutils ffmpeg gevent greenlet hostpython igraph jpeg kivent kivy libevent libpq libswift libxml2 libxslt libyaml lxml m2crypto msgpack mysql_connector netifaces numpy openssl paramiko pil plyer png polygon protobuf psutil psycopg2 pyasn1 pycrypto pygame pyjnius pylibpd pyopenssl pyparsing pyqrcode python pyyaml sdl setuptools sqlalchemy sqlite3 storm swift twisted txws wokkel zope
- # Clean and build python-for-android
- # Remove directory and subdirectory /home/dan/.buildozer/android/platform/python-for-android/dist/myapp
- # Run './distribute.sh -m "kivy" -d "myapp"'
- # Cwd /home/dan/.buildozer/android/platform/python-for-android
- Check build dependencies for Ubuntu
- Packages missing: cython
- It might break the compilation, except if you installed thoses packages manually.
- Check enviromnent
- SDK located at /home/dan/.buildozer/android/platform/android-sdk-21
- NDK located at /home/dan/.buildozer/android/platform/android-ndk-r9c
- NDK version is r9c
- API level set to 14
- Check mandatory tools
- Distribution will be located at /home/dan/.buildozer/android/platform/python-for-android/dist/myapp
- Entering in ARM environment
- Compiler found at /home/dan/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin//arm-linux-androideabi-gcc
- PATH is /home/dan/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin/:/home/dan/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/:/home/dan/.buildozer/android/platform/android-ndk-r9c:/home/dan/.buildozer/android/platform/android-sdk-21/tools:/home/dan/.buildozer/android/platform/apache-ant-1.9.4/bin:/home/dan/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/dan/m
- Leaving ARM enviromnent
- Read kivy recipe
- Module kivy depend on pygame pyjnius android
- Read pygame recipe
- Module pygame depend on python sdl
- Read pyjnius recipe
- Module pyjnius depend on python sdl
- Read android recipe
- Module android depend on pygame
- Read python recipe
- Module python depend on hostpython
- Read sdl recipe
- Module sdl depend on python
- Ignored python, already processed
- Ignored sdl, already processed
- Ignored pygame, already processed
- Read hostpython recipe
- Ignored python, already processed
- Modules changed to hostpython python sdl pygame pyjnius android kivy
- Pure-Python modules changed to
- Run get packages
- Download package for hostpython
- Module hostpython already downloaded
- Download package for python
- Module python already downloaded
- Download package for sdl
- No package for sdl
- Download package for pygame
- Module pygame already downloaded
- Download package for pyjnius
- Module pyjnius already downloaded
- Download package for android
- No package for android
- Download package for kivy
- Module kivy already downloaded
- Run prebuild
- Call prebuild_hostpython
- Call prebuild_python
- Call prebuild_sdl
- Call prebuild_pygame
- Call prebuild_pyjnius
- Call prebuild_android
- Call prebuild_kivy
- Run build
- Skipped build_hostpython
- Skipped build_python
- Skipped build_sdl
- Skipped build_pygame
- Skipped build_pyjnius
- Skipped build_android
- Call build_kivy
- Entering in ARM environment
- Compiler found at /home/dan/.buildozer/android/platform/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin//arm-linux-androideabi-gcc
- [INFO ] Kivy v1.8.0
- /home/dan/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'dependency_links'
- warnings.warn(msg)
- /home/dan/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
- warnings.warn(msg)
- Cython check avoided.
- running build_ext
- Build configuration is:
- * use_rpi = False
- * use_opengl_es2 = True
- * use_opengl_debug = False
- * use_glew = False
- * use_sdl = False
- * use_ios = False
- * use_mesagl = False
- * use_x11 = False
- * use_gstreamer = False
- * use_avfoundation = False
- Generate config.h
- Generate config.pxi
- Detected compiler is unix
- building 'kivy.graphics.texture' extension
- arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/dan/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm -DNDEBUG -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/dan/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm -fPIC -I/home/dan/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm/usr/include -I/home/dan/.buildozer/android/platform/python-for-android/build/python-install/include/python2.7 -c kivy/graphics/texture.c -o build/temp.linux-x86_64-2.7/kivy/graphics/texture.o
- kivy/graphics/texture.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 'arm-linux-androideabi-gcc' failed with exit status 1
- 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
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- if self._depthbuffer_attached:
- glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT)
- else:
- glClear(GL_COLOR_BUFFER_BIT)
- cdef void apply(self):
- ^
- ------------------------------------------------------------
- kivy/graphics/fbo.pyx:298:9: 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
- 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
- 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
- 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
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- if self.context_state:
- context.set_states(self.context_state)
- if self.context_pop:
- context.pop_states(self.context_pop)
- cdef void set_state(self, str name, value):
- ^
- ------------------------------------------------------------
- kivy/graphics/instructions.pyx:236:9: Signature not compatible with previous declaration
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- cdef dict context_state
- cdef list context_push
- cdef list context_pop
- cdef RenderContext get_context(self)
- cdef void set_state(self, str name, value) except *
- ^
- ------------------------------------------------------------
- kivy/graphics/instructions.pxd:56:23: Previous declaration is here
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- cdef void set_state(self, str name, value):
- self.context_state[name] = value
- self.flag_update()
- cdef void push_state(self, str name):
- ^
- ------------------------------------------------------------
- kivy/graphics/instructions.pyx:240:9: Signature not compatible with previous declaration
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- cdef list context_push
- cdef list context_pop
- cdef RenderContext get_context(self)
- cdef void set_state(self, str name, value) except *
- cdef void push_state(self, str name) except *
- ^
- ------------------------------------------------------------
- kivy/graphics/instructions.pxd:57:24: Previous declaration is here
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- cdef void push_state(self, str name):
- self.context_push.append(name)
- self.flag_update()
- cdef void pop_state(self, str name):
- ^
- ------------------------------------------------------------
- kivy/graphics/instructions.pyx:244:9: Signature not compatible with previous declaration
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- cdef list context_pop
- cdef RenderContext get_context(self)
- cdef void set_state(self, str name, value) except *
- cdef void push_state(self, str name) except *
- cdef void pop_state(self, str name) except *
- ^
- ------------------------------------------------------------
- kivy/graphics/instructions.pxd:58:23: Previous declaration is here
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- self._shader.set_uniform(name, value)
- cdef get_state(self, str name):
- return self.state_stacks[name][-1]
- cdef void set_states(self, dict states):
- ^
- ------------------------------------------------------------
- kivy/graphics/instructions.pyx:767:9: Signature not compatible with previous declaration
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- cdef int _use_parent_modelview
- cdef void set_texture(self, int index, Texture texture)
- cdef void set_state(self, str name, value, int apply_now=?)
- cdef get_state(self, str name)
- cdef void set_states(self, dict states) except *
- ^
- ------------------------------------------------------------
- kivy/graphics/instructions.pxd:111:24: Previous declaration is here
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- cdef void set_states(self, dict states):
- cdef str name
- for name, value in states.iteritems():
- self.set_state(name, value)
- cdef void push_state(self, str name):
- ^
- ------------------------------------------------------------
- kivy/graphics/instructions.pyx:772:9: Signature not compatible with previous declaration
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- cdef void set_texture(self, int index, Texture texture)
- cdef void set_state(self, str name, value, int apply_now=?)
- cdef get_state(self, str name)
- cdef void set_states(self, dict states) except *
- cdef void push_state(self, str name) except *
- ^
- ------------------------------------------------------------
- kivy/graphics/instructions.pxd:112:24: Previous declaration is here
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- cdef void push_state(self, str name):
- stack = self.state_stacks[name]
- stack.append(stack[-1])
- self.flag_update()
- cdef void push_states(self, list names):
- ^
- ------------------------------------------------------------
- kivy/graphics/instructions.pyx:777:9: Signature not compatible with previous declaration
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- cdef void set_texture(self, int index, Texture texture)
- cdef void set_state(self, str name, value, int apply_now=?)
- cdef get_state(self, str name)
- cdef void set_states(self, dict states) except *
- cdef void push_state(self, str name) except *
- cdef void push_states(self, list names) except *
- ^
- ------------------------------------------------------------
- kivy/graphics/instructions.pxd:113:25: Previous declaration is here
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- cdef void push_states(self, list names):
- cdef str name
- for name in names:
- self.push_state(name)
- cdef void pop_state(self, str name):
- ^
- ------------------------------------------------------------
- kivy/graphics/instructions.pyx:782:9: Signature not compatible with previous declaration
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- cdef void set_state(self, str name, value, int apply_now=?)
- cdef get_state(self, str name)
- cdef void set_states(self, dict states) except *
- cdef void push_state(self, str name) except *
- cdef void push_states(self, list names) except *
- cdef void pop_state(self, str name) except *
- ^
- ------------------------------------------------------------
- kivy/graphics/instructions.pxd:114:23: Previous declaration is here
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- oldvalue = stack.pop()
- if oldvalue != stack[-1]:
- self.set_state(name, stack[-1])
- self.flag_update()
- cdef void pop_states(self, list names):
- ^
- ------------------------------------------------------------
- kivy/graphics/instructions.pyx:789:9: Signature not compatible with previous declaration
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- cdef get_state(self, str name)
- cdef void set_states(self, dict states) except *
- cdef void push_state(self, str name) except *
- cdef void push_states(self, list names) except *
- cdef void pop_state(self, str name) except *
- cdef void pop_states(self, list names) except *
- ^
- ------------------------------------------------------------
- kivy/graphics/instructions.pxd:115:24: Previous declaration is here
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- _active_texture = index
- glActiveTexture(GL_TEXTURE0 + index)
- texture.bind()
- self.flag_update()
- cdef void enter(self):
- ^
- ------------------------------------------------------------
- kivy/graphics/instructions.pyx:809:9: Signature not compatible with previous declaration
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- cdef void set_states(self, dict states) except *
- cdef void push_state(self, str name) except *
- 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 *
- ^
- ------------------------------------------------------------
- kivy/graphics/instructions.pxd:116:19: Previous declaration is here
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- self.flag_update()
- cdef void enter(self):
- self._shader.use()
- cdef void leave(self):
- ^
- ------------------------------------------------------------
- kivy/graphics/instructions.pyx:812:9: Signature not compatible with previous declaration
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- cdef void push_state(self, str name) except *
- 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 *
- ^
- ------------------------------------------------------------
- kivy/graphics/instructions.pxd:117:19: Previous declaration is here
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- self._shader.use()
- cdef void leave(self):
- self._shader.stop()
- cdef void apply(self):
- ^
- ------------------------------------------------------------
- kivy/graphics/instructions.pyx:815:9: 'apply' already defined
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- self._shader.use()
- cdef void leave(self):
- self._shader.stop()
- cdef void apply(self):
- ^
- ------------------------------------------------------------
- kivy/graphics/instructions.pyx:815:9: 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
- 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
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- cdef void stop(self):
- '''Stop using the shader.
- '''
- glUseProgram(0)
- cdef void set_uniform(self, str name, value):
- ^
- ------------------------------------------------------------
- kivy/graphics/shader.pyx:224:9: Signature not compatible with previous declaration
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- cdef dict uniform_locations
- cdef dict uniform_values
- cdef void use(self)
- cdef void stop(self)
- cdef void set_uniform(self, str name, value) except *
- ^
- ------------------------------------------------------------
- kivy/graphics/shader.pxd:29:25: Previous declaration is here
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- if name in self.uniform_values and self.uniform_values[name] == value:
- return
- self.uniform_values[name] = value
- self.upload_uniform(name, value)
- cdef void upload_uniform(self, str name, value):
- ^
- ------------------------------------------------------------
- kivy/graphics/shader.pyx:230:9: Signature not compatible with previous declaration
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- cdef dict uniform_values
- cdef void use(self)
- cdef void stop(self)
- cdef void set_uniform(self, str name, value) except *
- cdef void upload_uniform(self, str name, value) except *
- ^
- ------------------------------------------------------------
- kivy/graphics/shader.pxd:30:28: Previous declaration is here
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- cdef GLfloat mat[16]
- for x in xrange(16):
- mat[x] = <GLfloat>value.mat[x]
- glUniformMatrix4fv(loc, 1, False, mat)
- cdef int get_uniform_loc(self, str name):
- ^
- ------------------------------------------------------------
- kivy/graphics/shader.pyx:415:9: Signature not compatible with previous declaration
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- cdef void use(self)
- cdef void stop(self)
- cdef void set_uniform(self, str name, value) except *
- cdef void upload_uniform(self, str name, value) except *
- cdef void upload_uniform_matrix(self, int loc, Matrix value)
- cdef int get_uniform_loc(self, str name) except *
- ^
- ------------------------------------------------------------
- kivy/graphics/shader.pxd:32:28: Previous declaration is here
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- glEnableVertexAttribArray(attr.index)
- # save for the next run.
- self._current_vertex_format = vertex_format
- cdef void build(self):
- ^
- ------------------------------------------------------------
- kivy/graphics/shader.pyx:455:9: Signature not compatible with previous declaration
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- cdef void stop(self)
- cdef void set_uniform(self, str name, value) except *
- cdef void upload_uniform(self, str name, value) except *
- cdef void upload_uniform_matrix(self, int loc, Matrix value)
- cdef int get_uniform_loc(self, str name) except *
- cdef void build(self) except *
- ^
- ------------------------------------------------------------
- kivy/graphics/shader.pxd:33:19: Previous declaration is here
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- cdef void build(self):
- self.build_vertex()
- self.build_fragment()
- cdef void build_vertex(self, int link=1):
- ^
- ------------------------------------------------------------
- kivy/graphics/shader.pyx:459:9: Signature not compatible with previous declaration
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- cdef void set_uniform(self, str name, value) except *
- cdef void upload_uniform(self, str name, value) except *
- cdef void upload_uniform_matrix(self, int loc, Matrix value)
- cdef int get_uniform_loc(self, str name) except *
- cdef void build(self) except *
- cdef void build_vertex(self, int link=*) except *
- ^
- ------------------------------------------------------------
- kivy/graphics/shader.pxd:34:26: Previous declaration is here
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- if self.vertex_shader is not None:
- glAttachShader(self.program, self.vertex_shader.shader)
- if link:
- self.link_program()
- cdef void build_fragment(self, int link=1):
- ^
- ------------------------------------------------------------
- kivy/graphics/shader.pyx:469:9: Signature not compatible with previous declaration
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- cdef void upload_uniform(self, str name, value) except *
- cdef void upload_uniform_matrix(self, int loc, Matrix value)
- cdef int get_uniform_loc(self, str name) except *
- cdef void build(self) except *
- cdef void build_vertex(self, int link=*) except *
- cdef void build_fragment(self, int link=*) except *
- ^
- ------------------------------------------------------------
- kivy/graphics/shader.pxd:35:28: Previous declaration is here
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- if self.fragment_shader is not None:
- glAttachShader(self.program, self.fragment_shader.shader)
- if link:
- self.link_program()
- cdef void link_program(self):
- ^
- ------------------------------------------------------------
- kivy/graphics/shader.pyx:479:9: Signature not compatible with previous declaration
- Error compiling Cython file:
- ------------------------------------------------------------
- ...
- cdef void upload_uniform_matrix(self, int loc, Matrix value)
- cdef int get_uniform_loc(self, str name) except *
- cdef void build(self) except *
- cdef void build_vertex(self, int link=*) except *
- cdef void build_fragment(self, int link=*) except *
- cdef void link_program(self) except *
- ^
- ------------------------------------------------------------
- kivy/graphics/shader.pxd:36:26: Previous declaration is here
- 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
- [INFO ] Kivy v1.8.0
- /home/dan/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'dependency_links'
- warnings.warn(msg)
- /home/dan/.buildozer/android/platform/python-for-android/build/python-install/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
- warnings.warn(msg)
- Cython check avoided.
- running build_ext
- Build configuration is:
- * use_rpi = False
- * use_opengl_es2 = True
- * use_opengl_debug = False
- * use_glew = False
- * use_sdl = False
- * use_ios = False
- * use_mesagl = False
- * use_x11 = False
- * use_gstreamer = False
- * use_avfoundation = False
- Generate config.h
- Generate config.pxi
- Detected compiler is unix
- building 'kivy.graphics.texture' extension
- arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/dan/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm -DNDEBUG -DANDROID -mandroid -fomit-frame-pointer --sysroot /home/dan/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm -fPIC -I/home/dan/.buildozer/android/platform/android-ndk-r9c/platforms/android-14/arch-arm/usr/include -I/home/dan/.buildozer/android/platform/python-for-android/build/python-install/include/python2.7 -c kivy/graphics/texture.c -o build/temp.linux-x86_64-2.7/kivy/graphics/texture.o
- kivy/graphics/texture.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 'arm-linux-androideabi-gcc' failed with exit status 1
- # Command failed: ./distribute.sh -m "kivy" -d "myapp"
- dan@xc:~$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement