Vladimir Petrovic Posted March 21, 2018 Posted March 21, 2018 Anyone done kivy pip on Zero? Have problem with pip install kivy. Stuck on : /usr/bin/ld: cannot find -lGL collect2: error: ld returned 1 exit status
Vladimir Petrovic Posted March 21, 2018 Author Posted March 21, 2018 Build configuration is: * use_rpi = 0 * use_mali = 0 * use_egl = 0 * use_opengl_es2 = 0 * use_opengl_mock = 0 * use_sdl2 = 0 * use_ios = 0 * use_mesagl = 0 * use_x11 = 0 * use_gstreamer = 0 * use_avfoundation = 0 * use_osx_frameworks = 0 * debug_gl = 0 * debug = False How can I change this if anyone know? Good thing to have mali online
Vladimir Petrovic Posted March 21, 2018 Author Posted March 21, 2018 29 minutes ago, Vladimir Petrovic said: Anyone done kivy pip on Zero? Have problem with pip install kivy. Stuck on : /usr/bin/ld: cannot find -lGL collect2: error: ld returned 1 exit status library was out of path. ln -s /usr/lib/arm-linux-gnueabihf/mesa/libGL.so.1 /lib/libGL.so did job...
Vladimir Petrovic Posted March 21, 2018 Author Posted March 21, 2018 cythoning /tmp/pip-build-EOjUJ7/kivy/kivy/graphics/svg.pyx to /tmp/pip-build-EOjUJ7/kivy/kivy/graphics/svg.c Error compiling Cython file: ------------------------------------------------------------ ... end = time() Logger.debug("Svg: Loaded {} in {:.2f}s".format(filename, end - start)) finally: fd.close() cdef void reload(self) except *: ^ ------------------------------------------------------------ kivy/graphics/svg.pyx:469:9: Signature not compatible with previous declaration Error compiling Cython file: ------------------------------------------------------------ ... cpdef flag_update(self, int do_parent=?, list _instrs=?) ELSE: cpdef flag_update(self, int do_parent=?) cdef void flag_update_done(self) cdef void set_parent(self, Instruction parent) cdef void reload(self) ^ ------------------------------------------------------------ kivy/graphics/instructions.pxd:36:20: Previous declaration is here Any idea?
Vladimir Petrovic Posted March 22, 2018 Author Posted March 22, 2018 I've managed to build kivy on OrangePi Zero. Dependency need cython 0.25.2 for successful build. 1
Recommended Posts