tôi chỉ muốn cài đặt kivy để kiểm tra nó và làm cho một số ứng dụng
i cài đặt cython và những điều khác
sau đó tôi gõ vào terminal (ubuntu 12.04):Cài đặt Kivy không tìm thấy GL/gl.h?
sudo easy_install kivy
là câu trả lời tôi nhận điều này:
Searching for kivy
Reading http://pypi.python.org/simple/kivy/
Best match: Kivy 1.2.0
Downloading http://pypi.python.org/packages/source/K/Kivy/Kivy-1.2.0.tar.gz#md5=468da8a353c2ea4936eb92d71403c960
Processing Kivy-1.2.0.tar.gz
Running Kivy-1.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-rcrkeK/Kivy-1.2.0/egg-dist-tmp-xdOqxi
[INFO ] Kivy v1.2.0
WARNING: GLES 2.0 headers are not found
Fallback to Desktop opengl headers.
Build configuration is:
* use_opengl_es2 = False
* use_glew = False
* use_opengl_debug = False
* use_mesagl = False
Generate config.h
Generate config.pxi
In file included from /tmp/easy_install-rcrkeK/Kivy-1.2.0/kivy/graphics/texture.c:273:0:
/tmp/easy_install-rcrkeK/Kivy-1.2.0/kivy/graphics/gl_redirect.h:38:22: fatal error: GL/gl.h: El fitxer o directori no existeix
compilation terminated.
error: Setup script exited with error: command 'gcc' failed with exit status 1
tôi đã làm gì sai? hoặc tôi cần phải cài đặt cái gì?
P.S. xin lỗi cho các dịch vụ sửa đổi thư viện không có existeix nghĩa là không tìm thấy tập tin.
Bạn đã làm theo hướng dẫn cài đặt trên tài liệu Kivy chưa? http://kivy.org/docs/installation/installation-linux.html – rubik