Thread: [PyOpenGL-Users] PyOpenGL on Solaris
Brought to you by:
mcfletch
From: Dave R. <dr...@ca...> - 2002-03-26 16:06:00
|
I've just recently downloaded PyOpenGL for use at home (Linux) and at work (Solaris) so forgive me if this has been gone over before. Is anyone else is interested in getting PyOpenGL working on Solaris? I've got it at least partially working, but it would be nice if downloadable version worked "out of the box" on Solaris. Here's what I did (using Solaris 2.7 and python2.2c1 and gcc 2.95.3). 1. downloaded PyOpenGL-2.0.0.44.tar.gz 2. made a sunos5.cfg that pointed to files in /usr/openwin 3. deleted files in the following directories: interface/GL/SUN/* interface/GL/SUNX/* interface/GL/EXT/* I got compile errors if I didn't delete these files and I don't understand what would have to be done to make them work. 4. it didn't seem to install the GL and GLU /__init__.py and __init__.pyc files but did create the .so files 5. I copied the above mentioned.py and .pyc files from a Linux system and now all the examples in the redbook directory seemed to work fine. I'm willing to help getting this working on Solaris if anyone who understands the binding details is interested. Thanks, Dave |
From: Mathias H. <mat...@cs...> - 2002-03-26 20:00:42
|
I recently built PyOpenGL-2.0.0.44 on a Solaris 8 system (Python-2.2). I based the sunos5.cfg file on the linux.cfg and had only to update the include_dirs and library_dirs to point to my OpenGL include/lib directories to get it working. /Mathias ----- Original Message ----- From: "Dave Reed" <dr...@ca...> To: <pyo...@li...> Sent: Tuesday, March 26, 2002 5:05 PM Subject: [PyOpenGL-Users] PyOpenGL on Solaris > > I've just recently downloaded PyOpenGL for use at home (Linux) and at > work (Solaris) so forgive me if this has been gone over before. > > Is anyone else is interested in getting PyOpenGL working on Solaris? > I've got it at least partially working, but it would be nice if > downloadable version worked "out of the box" on Solaris. > > Here's what I did (using Solaris 2.7 and python2.2c1 and gcc 2.95.3). > > 1. downloaded PyOpenGL-2.0.0.44.tar.gz > > 2. made a sunos5.cfg that pointed to files in /usr/openwin > > 3. deleted files in the following directories: > interface/GL/SUN/* > interface/GL/SUNX/* > interface/GL/EXT/* > > I got compile errors if I didn't delete these files and I don't > understand what would have to be done to make them work. > > 4. it didn't seem to install the GL and GLU /__init__.py and > __init__.pyc files but did create the .so files > > 5. I copied the above mentioned.py and .pyc files from a Linux system > and now all the examples in the redbook directory seemed to work > fine. > > I'm willing to help getting this working on Solaris if anyone who > understands the binding details is interested. > > Thanks, > Dave > > _______________________________________________ > PyOpenGL Homepage > http://pyopengl.sourceforge.net > _______________________________________________ > PyOpenGL-Users mailing list > PyO...@li... > https://lists.sourceforge.net/lists/listinfo/pyopengl-users > |
From: Dave R. <dr...@ca...> - 2002-03-26 20:14:31
|
Thanks for the info. We have both Solaris 7 and 8 machines here, but I need it to work for Solaris 7 machines. I tried it on a Solaris 8 machine (using Python2.2 compiled on a Solaris 2.7 machine) and it died with: src/interface/GL.EXT.vertex_array.0110.inc: In function `_glTexCoordPointerEXT': src/interface/GL.EXT.vertex_array.0110.inc:806: `GL_TEXTURE_COORD_ARRAY_EXT' undeclared (first use in this function) src/interface/GL.EXT.vertex_array.0110.inc:806: (Each undeclared identifier is reported only once src/interface/GL.EXT.vertex_array.0110.inc:806: for each function it appears in.) I wonder if it's a problem with our OpenGL header files/libraries or something else. Any thoughts? Thanks, Dave > From: "Mathias Haage" <mat...@cs...> > Date: Tue, 26 Mar 2002 21:00:17 +0100 > > I recently built PyOpenGL-2.0.0.44 on a Solaris 8 system (Python-2.2). I > based the sunos5.cfg file on the linux.cfg and had only to update the > include_dirs and library_dirs to point to my OpenGL include/lib directories > to get it working. > > /Mathias > > > ----- Original Message ----- > From: "Dave Reed" <dr...@ca...> > To: <pyo...@li...> > Sent: Tuesday, March 26, 2002 5:05 PM > Subject: [PyOpenGL-Users] PyOpenGL on Solaris > > > > > > I've just recently downloaded PyOpenGL for use at home (Linux) and at > > work (Solaris) so forgive me if this has been gone over before. > > > > Is anyone else is interested in getting PyOpenGL working on Solaris? > > I've got it at least partially working, but it would be nice if > > downloadable version worked "out of the box" on Solaris. > > > > Here's what I did (using Solaris 2.7 and python2.2c1 and gcc 2.95.3). > > > > 1. downloaded PyOpenGL-2.0.0.44.tar.gz > > > > 2. made a sunos5.cfg that pointed to files in /usr/openwin > > > > 3. deleted files in the following directories: > > interface/GL/SUN/* > > interface/GL/SUNX/* > > interface/GL/EXT/* > > > > I got compile errors if I didn't delete these files and I don't > > understand what would have to be done to make them work. > > > > 4. it didn't seem to install the GL and GLU /__init__.py and > > __init__.pyc files but did create the .so files > > > > 5. I copied the above mentioned.py and .pyc files from a Linux system > > and now all the examples in the redbook directory seemed to work > > fine. > > > > I'm willing to help getting this working on Solaris if anyone who > > understands the binding details is interested. > > > > Thanks, > > Dave |