Kivy for Python 3.3

fronagzen at gmail.com fronagzen at gmail.com
Thu Jul 11 10:26:19 EDT 2013


On Thursday, July 11, 2013 9:17:07 PM UTC+8, Paul Kölle wrote:
> Am 11.07.2013 11:09, schrieb fronagzen at gmail.com:
> 
> > Hello, first time poster here, and general newbie to Python.
> 
> >
> 
> > I'm looking to write a program in Python, (and have in fact written
> 
> > most of it by now,) and am trying to put together a GUI for it. Kivy
> 
> > looks very nice, particularly with the fact that it's supposed to be
> 
> > compatible with most platforms (including Android, which I would like
> 
> > to be able to use my program on in addition to running it on my
> 
> > desktop) with minimal hassle. However, its current iteration is
> 
> > Python 2.7 only, and I've only learned Python 3.3.
> 
> [ snipp ]
> 
> > C:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe:
> 
> > cannot fin d -lmsvcr100 collect2: ld returned 1 exit status error:
> 
> > command 'gcc' failed with exit status 1
> 
> 
> 
> It might help copying msvcr100.dll (from MS VC++ Redistributable 
> 
> Package) to c:\python33\libs (or wherever your python install is). See 
> 
> http://bugs.python.org/issue15315 msg191106
> 
> 
> 
> hth
> 
>   Paul

Thanks for the response, and I swear that I did try googling the error, but didn't find anything. Oh well. Anyway, it seems that adding msvcr100.dll to my python3.3\libs has done something. I'm getting a different file not found message now:


C:\Users\[SNIP]\Desktop\kivy-py3>python setup.py build_ext --inplace
[INFO              ] Kivy v1.8.0-dev
Windows platform detected, force GLEW usage.
running build_ext
Build configpython setup.py build_ext --inplace --compiler
=mingw32
[INFO              ] Kivy v1.8.0-dev
Windows platform detected, force GLEW usage.
running build_ext
Build configuration is:
 * use_glew = True
 * use_ios = False
 * use_opengl_debug = False
 * use_opengl_es2 = True
 * use_rpi = False
 * use_mesagl = False
 * use_x11 = False
 * use_sdl = False
Generate config.h
Generate config.pxi
skipping 'kivy\graphics\vertex_instructions.c' Cython extension (up-to-date)
building 'kivy.graphics.vertex_instructions' extension
C:\MinGW\bin\gcc.exe -mdll -O -Wall -IC:\Python33\include -IC:\Python33\include
-c kivy\graphics\vertex_instructions.c -o build\temp.win32-3.3\Release\kivy\grap
hics\vertex_instructions.o
In file included from kivy\graphics\vertex_instructions.c:314:0:
kivy\graphics\/gl_redirect.h:8:22: fatal error: GL/glew.h: No such file or direc
tory
compilation terminated.
 error: command 'gcc' failed with exit status 1

Working on the reasoning that sticking the missing file into the python3.3\libs file worked, I tried adding the glew files (glew32.dll, glew32.lib, GL\glew and GL\wglew.h) there, however, it doesn't seem to have made a difference. And this I googled this before asking. Doesn't seem to be much.



More information about the Python-list mailing list