Thread: [PyOpenGL-Users] Newbie problem with PyOpenGL build
Brought to you by:
mcfletch
From: Allen T. <ry...@ho...> - 2002-08-18 06:18:05
|
I am trying to build/install PyOpenGL on my laptop which runs RH Linux 7.3. When I run python2 setup.py build I keep getting the following error message: .... skipping 'GL.WIN.swap_hint' extension (up-to-date) skipping 'GL._3DFX.tbuffer' extension (up-to-date) skipping 'GL.__init___' extension (up-to-date) skipping 'GLE' extension (up-to-date) skipping 'GLU.SGI.filter4_parameters' extension (up-to-date) skipping 'GLU.__init___' extension (up-to-date) building 'GLUT' extension gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DGLX_PLATFORM -DNUMERIC -I/usr/include -I/usr/local/include -I/usr/X11/include -I/usr/include/python2.2/Numeric -Isrc/gle/src -I/usr/include/python2.2 -c src/interface/GLUT.c -o build/temp.linux-i686-2.2/GLUT.o src/interface/GLUT.c:6:21: GL/glut.h: No such file or directory error: command 'gcc' failed with exit status 1 I would appreciate anyone's suggestions or advice. Thanks! Ryoga _________________________________________________________________ Join the worlds largest e-mail service with MSN Hotmail. http://www.hotmail.com |
From: <il...@ya...> - 2002-08-18 06:24:12
|
You need the glut headers. In a package called something like glut-devel(I don't use red hat much). You also need the glut library :) If you allready have those installed then the setup.py can not find them. If so could you post their location? --- Allen Toreja <ry...@ho...> wrote: > > I am trying to build/install PyOpenGL on my laptop > which runs RH Linux 7.3. > When I run python2 setup.py build I keep getting the > following > error message: > > .... > skipping 'GL.WIN.swap_hint' extension (up-to-date) > skipping 'GL._3DFX.tbuffer' extension (up-to-date) > skipping 'GL.__init___' extension (up-to-date) > skipping 'GLE' extension (up-to-date) > skipping 'GLU.SGI.filter4_parameters' extension > (up-to-date) > skipping 'GLU.__init___' extension (up-to-date) > building 'GLUT' extension > gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC > -DGLX_PLATFORM -DNUMERIC > -I/usr/include -I/usr/local/include > -I/usr/X11/include > -I/usr/include/python2.2/Numeric -Isrc/gle/src > -I/usr/include/python2.2 -c > src/interface/GLUT.c -o > build/temp.linux-i686-2.2/GLUT.o > src/interface/GLUT.c:6:21: GL/glut.h: No such file > or directory > error: command 'gcc' failed with exit status 1 > > I would appreciate anyone's suggestions or advice. > Thanks! > > > Ryoga > > __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com |
From: Douglas S. B. <db...@br...> - 2002-08-18 12:53:41
|
If make can't find GL/glut.h, then you probably need to install Mesa. Under RedHat, that might involve something like: <Put CD with RPMs in CD-ROM Drive> mount /mnt/cdrom cd /mnt/cdrom/RedHat/RPMS rpm -ihv Mesa-*.rpm That should get the libraries, demos, and development header files (including glut.h). It appears that PyOpenGL does not yet work with Mesa-4.0, so stick with with the 3.x series. If you build Mesa from sources, and you get an error installing PyOpenGL, try configuring Mesa with the --without-glide option like so: ./configure --without-glide -Doug Rene Dudfield <il...@ya...> said: > > You need the glut headers. In a package called > something like glut-devel(I don't use red hat much). > You also need the glut library :) > > If you allready have those installed then the setup.py > can not find them. If so could you post their > location? > > > --- Allen Toreja <ry...@ho...> wrote: > > > I am trying to build/install PyOpenGL on my laptop > > which runs RH Linux 7.3. > > When I run python2 setup.py build I keep getting the > > following > > error message: > > > > .... > > skipping 'GL.WIN.swap_hint' extension (up-to-date) > > skipping 'GL._3DFX.tbuffer' extension (up-to-date) > > skipping 'GL.__init___' extension (up-to-date) > > skipping 'GLE' extension (up-to-date) > > skipping 'GLU.SGI.filter4_parameters' extension > > (up-to-date) > > skipping 'GLU.__init___' extension (up-to-date) > > building 'GLUT' extension > > gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC > > -DGLX_PLATFORM -DNUMERIC > > -I/usr/include -I/usr/local/include > > -I/usr/X11/include > > -I/usr/include/python2.2/Numeric -Isrc/gle/src > > -I/usr/include/python2.2 -c > > src/interface/GLUT.c -o > > build/temp.linux-i686-2.2/GLUT.o > > src/interface/GLUT.c:6:21: GL/glut.h: No such file > > or directory > > error: command 'gcc' failed with exit status 1 > > > > I would appreciate anyone's suggestions or advice. > > Thanks! > > > > > > Ryoga > > > > > > __________________________________________________ > Do You Yahoo!? > Everything you'll ever need on one web page > from News and Sport to Email and Music Charts > http://uk.my.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > PyOpenGL Homepage > http://pyopengl.sourceforge.net > _______________________________________________ > PyOpenGL-Users mailing list > PyO...@li... > https://lists.sourceforge.net/lists/listinfo/pyopengl-users > -- Douglas S. Blank, Assistant Professor db...@br..., (610)526-6501 Bryn Mawr College, Computer Science Program 101 North Merion Ave, Park Science Building Bryn Mawr, PA 19010 dangermouse.brynmawr.edu |