2

Ubuntu 12.04 に python-dev 、 libglu-dev 、および libevent-dev パッケージをインストールしましたが、 sudo python setup.py install から kivy をインストールしようとすると、次のエラーがスローされます。

      Error compiling Cython file:
     -----------------------------------------------------------
   .    ..
          glDeleteFramebuffers(len(self.lr_fbo_fb), arr.data.as_uints)
         del self.lr_fbo_fb[:]
     if len(self.lr_fbo_rb):
         Logger.trace('Context: releasing %d renderbuffer fbos' % len(self.lr_fbo_fb))
         arr = self.lr_fbo_rb
         glDeleteRenderbuffers(len(self.lr_fbo_rb), arr.data.as_uints)
                                                           ^

 kivy/graphics/context.pyx:303:63: Cannot convert Python object to 'GLuint *'
building 'kivy.graphics.context' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes     -fPIC -I/usr/include/python2.7 -c kivy/graphics/context.c -o build/temp.linux-x86_64-2.7   /kivy/graphics/context.o
 kivy/graphics/context.c:1:2: error: #error Do not use this file, it is the result    of       failed Cython compilation.

誰かが私に何をすべきか教えてくれれば、私はとても幸せです。私はすべてを試しました。前もって感謝します。

4

1 に答える 1