#22 using PyOpenGl with Python2.2

closed-invalid
None
5
2001-11-07
2001-11-03
Anonymous
No

Hi,

I downloaded PyOpenGl-2.0.0.44.tar.gz and tried to
install it with Python 2.2b1. After running command:
python setup.py build
I got the following message:

building 'GLUT' extension
C:\Program Files\Microsoft Visual Studio\VC98
\bin\cl.exe /c /nologo /Ox /MD /W3
/GX -DWGL_PLATFORM -Isrc/gle/src -Ig:\python22
\include /Tcsrc/interface/GLUT.c /
Fobuild\temp.win32-2.2\Release\GLUT.obj
GLUT.c
src/interface/GLUT.c(6) : fatal error C1083: Cannot
open include file: 'GL/glut.
h': No such file or directory
error: command '"C:\Program Files\Microsoft Visual
Studio\VC98\bin\cl.exe"' fail
ed with exit status 2

Please help me out. BTW, PyOpenGl-2.0.0.44.win32-
py2.1.exe works well with Python 2.1.1.

Su

Discussion

  • Logged In: YES
    user_id=21784

    Make sure the glut header/lib is available. You may need
    to get GLUT from
    http://www.opengl.org/developers/documentation/glut/index.ht
    ml

    This probably isn't a Python2.2 problem, but would likely
    also happen if you tried to compile against 2.1

     
    • assigned_to: nobody --> twburton
     
  • Logged In: NO

    I downloaded the glut.h file, but don't know where this file should go (I'm using window 2000). I tried
    several locations, such as src/gle/src, opengl/gl, but failed.

    Thanks,
    Su

     
  • Logged In: NO

    I found the directory where the glut.h should go. So please ignore my previouse message.
    Is it possible that you can provide an executable for installing pyopengl with Python2.2 on windows?

    Thanks,

    Su

     
    • status: open --> closed-invalid