I tried to run Kivy on UDOOquad.
However, I can not run.......
Please tell me my mistake.
My Kivy' log is the following.
---
[INFO] Logger: Record log in /home/ubuntu/.kivy/logs/kivy_14-09-02_9.txt
[INFO] Kivy v1.8.1-dev
[INFO] Python: v2.7.3 (default, Apr 21 2012, 00:58:12)
[GCC 4.6.3]
[INFO] Factory: 169 symbols loaded
[INFO] Image: Providers: img_tex, img_dds, img_pygame, img_gif (img_ffpyplayer, img_pil ignored)
[INFO] Text: Provider: pygame
[INFO] Window: Provider: pygame(['window_egl_rpi'] ignored)
[WARNING] WinPygame: Video: failed (multisamples=2)
[WARNING] WinPygame: trying without antialiasing
[INFO] GL: OpenGL version <2.1 2.0.1>
[INFO] GL: OpenGL vendor <Vivante Corporation>
[INFO] GL: OpenGL renderer <GC2000 Graphics Engine>
[INFO] GL: OpenGL parsed version: 2, 1
[INFO] GL: Shading version <1.20>
[INFO] GL: Texture max size <8192>
[INFO] GL: Texture max units <16>
Fatal Python error: (pygame parachute) Segmentation Fault
----
The way of installig is the following.
----
ubuntu@udoo:$sudo apt-get clean
ubuntu@udoo:$sudo apt-get update
ubuntu@udoo:$sudo apt-get upgrade
ubuntu@udoo:$sudo apt-get install python-setuptools python-pygame python-opengl python-gst0.10 python-enchant gstreamer0.10-plugins-good python-dev build-essential libgl1-mesa-dev libgles2-mesa-dev cython
ubuntu@udoo:$sudo apt-get install python-pip
ubuntu@udoo:$sudo pip install --upgrade cython
ubuntu@udoo:$sudo apt-get install git
$cd kivy
ubuntu@udoo:kivy$python setup.py build_ext --inplace -f
ubuntu@udoo:kivy$sudo python setup.py install
----
My test code "main.py" is the following.
----
import kivy
from kivy.base import EventLoop
EventLoop.ensure_window()
from kivy.uix.button import Button
class MyApp(App):
title="Sample App"
def build(self):
self.get_application_config()
return Button(text="hello world")
if __name__=="__main__":
MyApp().run()