pyopengl-users Mailing List for PyOpenGL (Page 111)
Brought to you by:
mcfletch
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(81) |
Oct
(41) |
Nov
(55) |
Dec
(14) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(34) |
Feb
(3) |
Mar
(16) |
Apr
(5) |
May
(10) |
Jun
(13) |
Jul
(24) |
Aug
(14) |
Sep
(14) |
Oct
(9) |
Nov
(10) |
Dec
(16) |
2003 |
Jan
(25) |
Feb
(59) |
Mar
(9) |
Apr
(21) |
May
(54) |
Jun
(4) |
Jul
(16) |
Aug
(19) |
Sep
(19) |
Oct
(15) |
Nov
(13) |
Dec
(22) |
2004 |
Jan
(19) |
Feb
(8) |
Mar
(20) |
Apr
(16) |
May
(13) |
Jun
(18) |
Jul
(18) |
Aug
(14) |
Sep
(24) |
Oct
(47) |
Nov
(20) |
Dec
(10) |
2005 |
Jan
(23) |
Feb
(31) |
Mar
(11) |
Apr
(29) |
May
(18) |
Jun
(7) |
Jul
(11) |
Aug
(12) |
Sep
(8) |
Oct
(4) |
Nov
(11) |
Dec
(7) |
2006 |
Jan
(7) |
Feb
(8) |
Mar
(15) |
Apr
(3) |
May
(8) |
Jun
(25) |
Jul
(19) |
Aug
(3) |
Sep
(17) |
Oct
(27) |
Nov
(24) |
Dec
(9) |
2007 |
Jan
(6) |
Feb
(43) |
Mar
(33) |
Apr
(8) |
May
(20) |
Jun
(11) |
Jul
(7) |
Aug
(8) |
Sep
(11) |
Oct
(22) |
Nov
(15) |
Dec
(18) |
2008 |
Jan
(14) |
Feb
(6) |
Mar
(6) |
Apr
(37) |
May
(13) |
Jun
(17) |
Jul
(22) |
Aug
(16) |
Sep
(14) |
Oct
(16) |
Nov
(29) |
Dec
(13) |
2009 |
Jan
(7) |
Feb
(25) |
Mar
(38) |
Apr
(57) |
May
(12) |
Jun
(32) |
Jul
(32) |
Aug
(35) |
Sep
(10) |
Oct
(28) |
Nov
(16) |
Dec
(49) |
2010 |
Jan
(57) |
Feb
(37) |
Mar
(22) |
Apr
(15) |
May
(45) |
Jun
(25) |
Jul
(32) |
Aug
(7) |
Sep
(13) |
Oct
(2) |
Nov
(11) |
Dec
(28) |
2011 |
Jan
(35) |
Feb
(39) |
Mar
|
Apr
(25) |
May
(32) |
Jun
(17) |
Jul
(29) |
Aug
(10) |
Sep
(26) |
Oct
(9) |
Nov
(28) |
Dec
(4) |
2012 |
Jan
(24) |
Feb
(47) |
Mar
(4) |
Apr
(8) |
May
(9) |
Jun
(6) |
Jul
(4) |
Aug
(1) |
Sep
(4) |
Oct
(28) |
Nov
(2) |
Dec
(2) |
2013 |
Jan
(11) |
Feb
(3) |
Mar
(4) |
Apr
(38) |
May
(15) |
Jun
(11) |
Jul
(15) |
Aug
(2) |
Sep
(2) |
Oct
(4) |
Nov
(3) |
Dec
(14) |
2014 |
Jan
(24) |
Feb
(31) |
Mar
(28) |
Apr
(16) |
May
(7) |
Jun
(6) |
Jul
(1) |
Aug
(10) |
Sep
(10) |
Oct
(2) |
Nov
|
Dec
|
2015 |
Jan
(6) |
Feb
(5) |
Mar
(2) |
Apr
(1) |
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
(2) |
Oct
(1) |
Nov
(19) |
Dec
|
2016 |
Jan
(6) |
Feb
(1) |
Mar
(7) |
Apr
|
May
(6) |
Jun
|
Jul
(3) |
Aug
(7) |
Sep
|
Oct
(2) |
Nov
(2) |
Dec
|
2017 |
Jan
|
Feb
(6) |
Mar
(8) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(3) |
Oct
(2) |
Nov
|
Dec
|
2018 |
Jan
(9) |
Feb
(1) |
Mar
|
Apr
|
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(6) |
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
(7) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
From: Richard J. <ric...@op...> - 2002-01-05 23:03:39
|
On Sat, 5 Jan 2002 23:46, Jan Ekholm wrote: > Hi, > > I've been trying to implement some form of view frustum culling. I found > some interesting code on: > > http://www.markmorley.com/opengl/frustumculling.html > > The code is in C, so I need to translate it to Python. Central in that > approach is the use the current modelview and projection matrices. So I > get the using: > > projection = glGetFloatv ( GL_PROJECTION_MATRIX ) > modelview = glGetFloatv ( GL_MODELVIEW_MATRIX ) > > However, the Python versions return a [4][4] matrix, while the C versions > return a [16] array. The code on the page above uses a [16] array for all > indexing, so I'd like to translate the matrices I get from glGetFloatv to > arrays. Code (interchangeable python and C modules for frustum culling and octree storage) attached :) You can also get this code by downloading the tarball from http://goanna.adroit.net/~richard/ufo/ where there is some octree code that uses the frustum culling too. Note that since I discovered that the code is _significantly_ faster when it just draws _everything_ rather than tries to cull, the current ufo.py doesn't actually call the frustum or octree code. In a nutshell, define objects like the triangle object, stuff them into the octree with octree.insertPolygon or octree.insertObject for each of the object's bounding vertexes. The call octree.render with the frustum and it calls each of the appropriate sub-object's render() method. Note that I do _all_ my view projection manipulation in the projection matrix, so I don't include the modelview matrix. It's simple enough to un-comment the appropriate code though. Richard |
From: Jan E. <ch...@in...> - 2002-01-05 12:46:36
|
Hi, I've been trying to implement some form of view frustum culling. I found some interesting code on: http://www.markmorley.com/opengl/frustumculling.html The code is in C, so I need to translate it to Python. Central in that approach is the use the current modelview and projection matrices. So I get the using: projection = glGetFloatv ( GL_PROJECTION_MATRIX ) modelview = glGetFloatv ( GL_MODELVIEW_MATRIX ) However, the Python versions return a [4][4] matrix, while the C versions return a [16] array. The code on the page above uses a [16] array for all indexing, so I'd like to translate the matrices I get from glGetFloatv to arrays. The problem is now that I'm not sure how the returned matrix should be "flattened". Should I go by row or column, i.e. the first element in the array should be [0][0], but should the second be [0][1] or [1][0] and so on? I have tried both ways, but my code still won't work, so I'd like to rule out at least this possibility for error. Ny ideas? Chakie -- The Emperor had all the qualifications for a corpse except, as it were, the most vital one. -- Terry Pratchett, Interesting Times |
From: Andy S. <an...@ne...> - 2002-01-01 17:14:27
|
Another one worth checking out would be: http://plib.sourceforge.net/ |
From: Tarn W. B. <twb...@us...> - 2001-12-31 14:35:35
|
There are a number of 2D libraries available. I'd recommend looking at these before you reinvent the wheel. GLI http://romka.demonews.com/projects/gli/index_eng.htm GLUI http://www.cs.unc.edu/~rademach/glui/ MUI (included with GLUT) None of these has been wrapped for use with PyOpenGL yet. GLUI looks like the best one, but I will probably start with MUI since it is part of GLUT. From my initial investigations, I believe that wrapping will probably be trivial. Volunteers are always welcome. Tarn |
From: Jeffrey D. <jp...@ro...> - 2001-12-31 07:46:05
|
I am developing a 2d library to be used for user interfaces to my python project. Do any of these exist at the moment? And would the master of pyopengl be interested in integrating such a beast if it suited the library? Regards, Jeffrey Drake |
From: Tarn W. B. <twb...@us...> - 2001-12-23 00:41:22
|
| If I create a display list (a honking big one :) and don't | clean it up when | my program exits, is it cleaned up by pyopengl? Nope. You've got to do it yourself. Tarn |
From: Richard J. <ric...@op...> - 2001-12-23 00:30:28
|
If I create a display list (a honking big one :) and don't clean it up when my program exits, is it cleaned up by pyopengl? Richard |
From: Mike C. F. <mcf...@ro...> - 2001-12-21 23:27:35
|
This is a bug-fix release of 1.0a2. Bugs fixed are the setup bug (data files copied to wrong locations) and the filename case mismatches on case-sensitive systems. Also included is the profile.py test, which demonstrates using a PyGame context to allow for standard Python profiling in PyOpenGL projects. http://sourceforge.net/project/showfiles.php?group_id=5988&release_id=66619 Enjoy all, Mike _______________________________________ Mike C. Fletcher http://members.rogers.com/mcfletch/ |
From: Richard J. <ric...@op...> - 2001-12-20 05:15:16
|
I've just spent a day converting some of my python classes over to C, with some fun results. In a nutshell, my application (ok, game ;) stores a 64x64 map grid, two triangles per cell, in an octree. This is then culled for the frustum and rendered as lit and textured triangles. The scene I'm getting the following results from has 170 of the triangles from the octree being rendered. I converted my frustum class (which has methods like calculate() and isCubeInFrustum()), octree class (which just stores away objects with a vertexes list and a render() method) and a simple lit/textured triangle object which has the aforementioned vertexes array and render() method. The python and C modules are functionally identical - they're completely interchangeable (making this test quite easy :) but the C modules do have several optimisations. For example, the C triangle class calls OpenGL directly, not through the python bindings. I suspect my unpacking the arguments to the gl calls once, when the object is created, has a large impact... I took a set of timings (render 100 frames and then time the next 100 frames), turning each of the C modules on and off: No C: 7fps C octree: 7fps C frusum: 8fps C triangle: 10fps C octree&frustum: 8fps C frustum&tri: 11fps C octree&tri: 26fps all: 41fps Well, what strange numbers. At 41fps my "game" is quite playable. Sure, most of the work is done in a single call to a C module, but Python's still there holding it all together :) Richard ps. I don't have a website at present - I'm between jobs - but I hope to have something set up soon so I can share this stuff. |
From: Tarn W. B. <twb...@us...> - 2001-12-12 22:25:04
|
You should use PIXELFORMATDESCRIPTOR() As to the exception, this looks like a bug. A temporary fix (build 47) has been uploaded to http://pyopengl.sf.net/ftp thanks, Tarn |
From: Rene J. <chi...@ho...> - 2001-12-12 20:13:51
|
Hi. The openGLDemo from Pythonwin creates a PIXELFORMATDESCRIPTOR using CreatePIXELFORMATDESCRIPTOR, but I can't find that call anywhere in.. well.. the entire universe world really. Searched everywhere. This approach is wrong: Desc = PIXELFORMATDESCRIPTOR() Desc.xxx = yyy ... ChoosePixelFormat(DCHandle, Desc) So is this: ChoosePixelFormat(DCHandle, PIXELFORMATDESCRIPTORPtr (Desc)) I get a 'TypeError.. Expected _p_q_const__PIXELFORMATDESCRIPTOR' thrown in my face. But what is right then?? Thanks in advance. chi...@ho... _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com |
From: Tarn W. B. <twb...@us...> - 2001-12-09 03:29:31
|
Just wanted let all know that I've posted a win32 build of 2.0.0.44 for Python 2.2b2 to the SF site. It may take a while to actually show up in the filelist as SF caches the list. Tarn |
From: Tarn W. B. <twb...@us...> - 2001-12-04 00:57:04
|
Sounds fine to me. I'll it put into CVS unless a Togl wizard (which I am not) has an objection. thanks, Tarn |
From: Maciej K. <ma...@dg...> - 2001-12-03 21:35:31
|
In PyOpengl 2.0.0.44, Tk/__init__.py, proposed patch: *** __init__.py.orig Sun Jul 8 14:26:50 2001 --- __init__.py Mon Dec 3 16:26:26 2001 *************** *** 476,483 **** --- 476,484 ---- self.activate() glPushMatrix() # Protect our matrix self.update_idletasks() + self.activate() w = self.winfo_width() h = self.winfo_height() glViewport(0, 0, w, h) If there is more than one Opengl widget, and all of them are exposed at once (say, when switching desktops), it is quite likely that the update_idletasks() call is going to result in tkExpose() being called for one of the other Opengl widgets. But this means that upon return from this call the active Opengl widget has changed. This caused glPopMatrix() to pop the wrong stack, which every time resulted in stack underflow, or worse. -- Maciej Kalisiak|mac@] "The real art of conversation is not only to say the dgp.toronto.edu|www.] right thing in the right place, but also to leave unsaid dgp.toronto.edu/~mac] the wrong thing at the tempting moment." |
From: Maciej K. <ma...@dg...> - 2001-12-03 17:04:22
|
"Mike C. Fletcher" <mcf...@ya...> writes: > You can also find (meagre) documentation by PyDoc at: > > http://pyopengl.sourceforge.net/documentation/pydoc/OpenGL.Tk.html Actually that's good enough for me. I just wanted a list of all the methods available to the object (including inherited ones), and this is such a list. -- Maciej Kalisiak|mac@] dgp.toronto.edu|www.] "Never make any mistaeks." -- anonymous dgp.toronto.edu/~mac] |
From: Mike C. F. <mcf...@ya...> - 2001-12-03 02:59:20
|
Tk.OpenGL is a wrapper class implemented in the python file: OpenGL/Tk/__init__.py It wraps the functions of the "standard" Tk togl widget with some convenience functions. You can find documentation on the togl widget in the PyOpenGL2 Source tree in src/Togl-1.5/Togl.html . Note that I've never actually used that documentation myself. You can also find (meagre) documentation by PyDoc at: http://pyopengl.sourceforge.net/documentation/pydoc/OpenGL.Tk.html Since I don't actually use Tk myself, I haven't spent any real time tracking down better documentation yet. Hope that helps, Mike --- Maciej Kalisiak <ma...@dg...> wrote: > Hi, > > Where would I be able to find out how to use the > stuff from OpenGL.Tk > (which I take is Togl stuff)? I've got a few hints > from looking at > the Demo programs, but was interested in a more > exhaustive list of > capabilities, methods, etc. > > -- > Maciej Kalisiak|mac@] > dgp.toronto.edu|www.] "A closed mouth gathers no > feet." > dgp.toronto.edu/~mac] > > _______________________________________________ > PyOpenGL Homepage > http://pyopengl.sourceforge.net > _______________________________________________ > PyOpenGL-Users mailing list > PyO...@li... > https://lists.sourceforge.net/lists/listinfo/pyopengl-users ______________________________________________________ Send your holiday cheer with http://greetings.yahoo.ca |
From: Maciej K. <ma...@dg...> - 2001-12-02 21:54:34
|
Hi, Where would I be able to find out how to use the stuff from OpenGL.Tk (which I take is Togl stuff)? I've got a few hints from looking at the Demo programs, but was interested in a more exhaustive list of capabilities, methods, etc. -- Maciej Kalisiak|mac@] dgp.toronto.edu|www.] "A closed mouth gathers no feet." dgp.toronto.edu/~mac] |
From: Tarn W. B. <twb...@us...> - 2001-11-30 07:57:31
|
| I haven't been able to find out whether or not the MUI | mini ui thats included with GLUT has been made available | for Python. I don't see any binding for it. | | http://www.opengl.org/developers/code/mjktips/mui/mui.html | | Is there any intention to support this with PyOpenGL? No binding yet. I've submitted a feature request on the SF site. I probably won't have time for this for quite a while. On the surface it looks fairly straight foreward. Tarn |
From: Patrick P. <pa...@de...> - 2001-11-30 03:31:51
|
I haven't been able to find out whether or not the MUI mini ui thats included with GLUT has been made available for Python. I don't see any binding for it. http://www.opengl.org/developers/code/mjktips/mui/mui.html Is there any intention to support this with PyOpenGL? Thanks, Patrick. |
From: Mike C. F. <mcf...@ro...> - 2001-11-30 00:16:52
|
Numbered according to your questions... 1) On my machine (Win2K using the GLUT context), the window does update when it is damaged. Which context subclass are you using? The code for this is different under each context subclass because of the need to interface with the user interface library's notification of damage. 2) You can find a demo in OpenGLContext/tests/saveimage.py for how you would save images to a file (using glReadPixels then converting to a PIL image for saving). Have fun, Mike -----Original Message----- From: pyo...@li... [mailto:pyo...@li...]On Behalf Of Craig H . Anderson Sent: Thursday, November 29, 2001 13:03 To: pyo...@li... Subject: [PyOpenGL-Users] Code for ball and stick model ... A couple of questions. 1) gl02_testUnitCylinder.py displays as expected, but the window doesn't refresh if damaged. What am I missing to get the window to refresh? 2) How would I dump the window image to a file? ... |
From: Craig H . A. <cr...@ho...> - 2001-11-29 18:03:14
|
Greetings, Here is my first attempt with PyOpenGL. Python and PyOpenGL is great! I wanted to make a ball and stick skeleton animation to demo at an interview. It appears I won't get the job, but I got as far as code to draw a sphere and cylinder. The file gl02_testUnitCylinder.py draws a box using OpenGLContext. The full demo was going to read a BVH animation file, generate a ball/stick skeleton and display an animation. A couple of questions. 1) gl02_testUnitCylinder.py displays as expected, but the window doesn't refresh if damaged. What am I missing to get the window to refresh? 2) How would I dump the window image to a file? Thanks, Craig H. Anderson cr...@ho... -- Craig H. Anderson |
From: <no...@so...> - 2001-11-28 21:38:08
|
Support Requests item #484774, was opened at 2001-11-23 00:26 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=205988&aid=484774&group_id=5988 Category: build Group: v2.0 Status: Open Priority: 5 Submitted By: John A. Turner (turner) Assigned to: Tarn Weisner Burton (twburton) Summary: cygwin build problems Initial Comment: thought I'd try PyOpenGL2 on win2k/cygwin using cygwin 1.3.5 and the cygwin port of python 2.1.1 and a fresh CVS checkout of PyOpenGL2 first copied config/win32.cfg to config/cygwin.cfg, since OpenGL progs compiled with cygwin's gcc use the normal win32 libs (opengl32, glu32, etc.) here's what the first bit of setup reports: PyOpenGL 2.0.1.45.a1 setup System configuration: Platform = cygwin GL Platform = WGL Numeric = 20.2.2 Build Togl = yes 1. first prob was that I didn't have SWIG, so I got: swig -version unable to execute swig: No such file or directory swig1.3 -version unable to execute swig1.3: No such file or directory warning: build_w: Can't find SWIG, will just have to do with the existing wrapper source. which would likely be ok except that soon after: cc -I/usr/include/python2.1/Numeric -c _configtest.c - o _configtest.o unable to execute cc: No such file or directory I didn't know how to force setup to use gcc rather than cc, so I took the easy way out and copied /usr/bin/gcc.exe to /usr/bin/cc.exe that at least allowed things to progress... 2. next, saw lots of warnings about missing __init.py__ files, most in the Demo subdir 3. finally, failed with: running build_clib building 'interface_util' library creating build/temp.cygwin-1.3.5-i686-2.1 gcc -g -O2 -Wall -Wstrict-prototypes -DUSE_DL_IMPORT - DWGL_PLATFORM -DNUMERIC -I/usr/include/python2.1 - I/usr/include/python2.1/Numeric - I/usr/include/python2.1/Numeric -c src/interface_util/interface_util.c -o build/temp.cygwin-1.3.5-i686-2.1/interface_util.o src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsFloatArray': src/interface_util/interface_util.c:698: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsDoubleArray': src/interface_util/interface_util.c:701: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsCharArray': src/interface_util/interface_util.c:704: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsUnsignedCharArray': src/interface_util/interface_util.c:707: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsShortArray': src/interface_util/interface_util.c:710: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsUnsignedShortArray': src/interface_util/interface_util.c:713: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsIntArray': src/interface_util/interface_util.c:716: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsUnsignedIntArray': src/interface_util/interface_util.c:719: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: At top level: src/interface_util/interface_util.c:780: warning: function declaration isn't a prototype gcc -g -O2 -Wall -Wstrict-prototypes -DUSE_DL_IMPORT - DWGL_PLATFORM -DNUMERIC -I/usr/include/python2.1 - I/usr/include/python2.1/Numeric - I/usr/include/python2.1/Numeric -c src/interface_util/platform.c -o build/temp.cygwin- 1.3.5-i686-2.1/platform.o src/interface_util/platform.c:4: warning: function declaration isn't a prototype src/interface_util/platform.c: In function `GetPlatformExtensionsString': src/interface_util/platform.c:7: warning: function declaration isn't a prototype ar -cr build/temp.cygwin-1.3.5-i686- 2.1/libinterface_util.a build/temp.cygwin-1.3.5-i686- 2.1/interface_util.o build/temp.cygwin-1.3.5-i686- 2.1/platform.o running build_ext building 'GL.ARB.matrix_palette' extension error: file 'src/interface/GL.ARB.matrix_palette.c' does not exist any suggestions? thanks in advance... -JT ---------------------------------------------------------------------- >Comment By: Tarn Weisner Burton (twburton) Date: 2001-11-28 13:37 Message: Logged In: YES user_id=21784 This is same problem I had. All the warnings are harmless. It builds fine under GCC on Linux. GCC 3.0 might fix this, but probably not. Have you tried using Mingw32? The cygwin build is going to be really slow anyways. ---------------------------------------------------------------------- Comment By: John A. Turner (turner) Date: 2001-11-28 13:17 Message: Logged In: YES user_id=20477 gack - sorry ok, got and built 1.3a5 - now gcc is horking: gcc -g -O2 -Wall -Wstrict-prototypes -DUSE_DL_IMPORT - DWGL_PLATFORM -DNUMERIC -I/usr/include/python2.1/Numeric - I/usr/include/python2.1 -c src/interface/GL.ARB.multitexture.c -o build/temp.cygwin- 1.3.5-i686-2.1/GL.ARB.multitexture.o In file included from src/interface/GL.ARB.multitexture.c:8: src/interface/GL.ARB.multitexture.0101.inc: In function `SWIG_UnpackData': src/interface/GL.ARB.multitexture.0101.inc:338: warning: `uu' might be used uninitialized in this function src/interface/GL.ARB.multitexture.0101.inc: In function `SWIG_ConvertPtr': src/interface/GL.ARB.multitexture.0101.inc:404: warning: suggest explicit braces to avoid ambiguous `else' src/interface/GL.ARB.multitexture.0101.inc:407: warning: suggest explicit braces to avoid ambiguous `else' src/interface/GL.ARB.multitexture.0101.inc:413: warning: suggest explicit braces to avoid ambiguous `else' src/interface/GL.ARB.multitexture.0101.inc: At top level: src/interface/GL.ARB.multitexture.0101.inc:700: warning: function declaration isn't a prototype src/interface/GL.ARB.multitexture.0101.inc:748: warning: function declaration isn't a prototype gcc: Internal compiler error: program cc1 got fatal signal 11 error: command 'gcc' failed with exit status 1 this is cygwin 1.3.5 with gcc 2.95.3-5 - should I try building gcc 3.0.2 or a snapshot or something? ---------------------------------------------------------------------- Comment By: Tarn Weisner Burton (twburton) Date: 2001-11-28 06:09 Message: Logged In: YES user_id=21784 As I said in my previous comments, You need SWIG 1.3a5. SWIG 1.3.9 won't work. ---------------------------------------------------------------------- Comment By: John A. Turner (turner) Date: 2001-11-27 22:39 Message: Logged In: YES user_id=20477 ok, went ahead and grabbed SWIG 1.3.9 and built (no probs), then cvs-upped PyOpenGL2 and tried again this time it choked here: Building wrappers for GL.__init__ Generating shadow version selector Generating C version selector Generating wrappers for API version 0x0101 swig -python -Iinterface -shadow -DAPI_VERSION=257 -o src/interface/GL.__init___.0101.inc interface/GL/__init__.i Syntax error interface/GL/__init__.i:1006. Syntax error in input. ---------------------------------------------------------------------- Comment By: Tarn Weisner Burton (twburton) Date: 2001-11-23 08:10 Message: Logged In: YES user_id=21784 You need SWIG 1.3a5 to build out of CVS. The "cc" problem has been fixed in CVS, but the build still doesn't complete on my system due to an internal compiler error. Before you do a CVS checkout be sure to move your cygwin.cfg file out of the way, since there is one in CVS now. There is also a complete source code dist (no need for SWIG) at http://pyopengl.sf.net/ftp/PyOpenGL- 2.0.1.46.a1.tar.gz ---------------------------------------------------------------------- Comment By: John A. Turner (turner) Date: 2001-11-23 00:29 Message: Logged In: YES user_id=20477 ugh - sorry about the formatting of the report - hope it is understandable - if not let me know and I'll upload files with the requisite info... ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=205988&aid=484774&group_id=5988 |
From: <no...@so...> - 2001-11-28 21:17:13
|
Support Requests item #484774, was opened at 2001-11-23 00:26 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=205988&aid=484774&group_id=5988 Category: build Group: v2.0 Status: Open Priority: 5 Submitted By: John A. Turner (turner) Assigned to: Tarn Weisner Burton (twburton) Summary: cygwin build problems Initial Comment: thought I'd try PyOpenGL2 on win2k/cygwin using cygwin 1.3.5 and the cygwin port of python 2.1.1 and a fresh CVS checkout of PyOpenGL2 first copied config/win32.cfg to config/cygwin.cfg, since OpenGL progs compiled with cygwin's gcc use the normal win32 libs (opengl32, glu32, etc.) here's what the first bit of setup reports: PyOpenGL 2.0.1.45.a1 setup System configuration: Platform = cygwin GL Platform = WGL Numeric = 20.2.2 Build Togl = yes 1. first prob was that I didn't have SWIG, so I got: swig -version unable to execute swig: No such file or directory swig1.3 -version unable to execute swig1.3: No such file or directory warning: build_w: Can't find SWIG, will just have to do with the existing wrapper source. which would likely be ok except that soon after: cc -I/usr/include/python2.1/Numeric -c _configtest.c - o _configtest.o unable to execute cc: No such file or directory I didn't know how to force setup to use gcc rather than cc, so I took the easy way out and copied /usr/bin/gcc.exe to /usr/bin/cc.exe that at least allowed things to progress... 2. next, saw lots of warnings about missing __init.py__ files, most in the Demo subdir 3. finally, failed with: running build_clib building 'interface_util' library creating build/temp.cygwin-1.3.5-i686-2.1 gcc -g -O2 -Wall -Wstrict-prototypes -DUSE_DL_IMPORT - DWGL_PLATFORM -DNUMERIC -I/usr/include/python2.1 - I/usr/include/python2.1/Numeric - I/usr/include/python2.1/Numeric -c src/interface_util/interface_util.c -o build/temp.cygwin-1.3.5-i686-2.1/interface_util.o src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsFloatArray': src/interface_util/interface_util.c:698: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsDoubleArray': src/interface_util/interface_util.c:701: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsCharArray': src/interface_util/interface_util.c:704: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsUnsignedCharArray': src/interface_util/interface_util.c:707: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsShortArray': src/interface_util/interface_util.c:710: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsUnsignedShortArray': src/interface_util/interface_util.c:713: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsIntArray': src/interface_util/interface_util.c:716: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsUnsignedIntArray': src/interface_util/interface_util.c:719: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: At top level: src/interface_util/interface_util.c:780: warning: function declaration isn't a prototype gcc -g -O2 -Wall -Wstrict-prototypes -DUSE_DL_IMPORT - DWGL_PLATFORM -DNUMERIC -I/usr/include/python2.1 - I/usr/include/python2.1/Numeric - I/usr/include/python2.1/Numeric -c src/interface_util/platform.c -o build/temp.cygwin- 1.3.5-i686-2.1/platform.o src/interface_util/platform.c:4: warning: function declaration isn't a prototype src/interface_util/platform.c: In function `GetPlatformExtensionsString': src/interface_util/platform.c:7: warning: function declaration isn't a prototype ar -cr build/temp.cygwin-1.3.5-i686- 2.1/libinterface_util.a build/temp.cygwin-1.3.5-i686- 2.1/interface_util.o build/temp.cygwin-1.3.5-i686- 2.1/platform.o running build_ext building 'GL.ARB.matrix_palette' extension error: file 'src/interface/GL.ARB.matrix_palette.c' does not exist any suggestions? thanks in advance... -JT ---------------------------------------------------------------------- >Comment By: John A. Turner (turner) Date: 2001-11-28 13:17 Message: Logged In: YES user_id=20477 gack - sorry ok, got and built 1.3a5 - now gcc is horking: gcc -g -O2 -Wall -Wstrict-prototypes -DUSE_DL_IMPORT - DWGL_PLATFORM -DNUMERIC -I/usr/include/python2.1/Numeric - I/usr/include/python2.1 -c src/interface/GL.ARB.multitexture.c -o build/temp.cygwin- 1.3.5-i686-2.1/GL.ARB.multitexture.o In file included from src/interface/GL.ARB.multitexture.c:8: src/interface/GL.ARB.multitexture.0101.inc: In function `SWIG_UnpackData': src/interface/GL.ARB.multitexture.0101.inc:338: warning: `uu' might be used uninitialized in this function src/interface/GL.ARB.multitexture.0101.inc: In function `SWIG_ConvertPtr': src/interface/GL.ARB.multitexture.0101.inc:404: warning: suggest explicit braces to avoid ambiguous `else' src/interface/GL.ARB.multitexture.0101.inc:407: warning: suggest explicit braces to avoid ambiguous `else' src/interface/GL.ARB.multitexture.0101.inc:413: warning: suggest explicit braces to avoid ambiguous `else' src/interface/GL.ARB.multitexture.0101.inc: At top level: src/interface/GL.ARB.multitexture.0101.inc:700: warning: function declaration isn't a prototype src/interface/GL.ARB.multitexture.0101.inc:748: warning: function declaration isn't a prototype gcc: Internal compiler error: program cc1 got fatal signal 11 error: command 'gcc' failed with exit status 1 this is cygwin 1.3.5 with gcc 2.95.3-5 - should I try building gcc 3.0.2 or a snapshot or something? ---------------------------------------------------------------------- Comment By: Tarn Weisner Burton (twburton) Date: 2001-11-28 06:09 Message: Logged In: YES user_id=21784 As I said in my previous comments, You need SWIG 1.3a5. SWIG 1.3.9 won't work. ---------------------------------------------------------------------- Comment By: John A. Turner (turner) Date: 2001-11-27 22:39 Message: Logged In: YES user_id=20477 ok, went ahead and grabbed SWIG 1.3.9 and built (no probs), then cvs-upped PyOpenGL2 and tried again this time it choked here: Building wrappers for GL.__init__ Generating shadow version selector Generating C version selector Generating wrappers for API version 0x0101 swig -python -Iinterface -shadow -DAPI_VERSION=257 -o src/interface/GL.__init___.0101.inc interface/GL/__init__.i Syntax error interface/GL/__init__.i:1006. Syntax error in input. ---------------------------------------------------------------------- Comment By: Tarn Weisner Burton (twburton) Date: 2001-11-23 08:10 Message: Logged In: YES user_id=21784 You need SWIG 1.3a5 to build out of CVS. The "cc" problem has been fixed in CVS, but the build still doesn't complete on my system due to an internal compiler error. Before you do a CVS checkout be sure to move your cygwin.cfg file out of the way, since there is one in CVS now. There is also a complete source code dist (no need for SWIG) at http://pyopengl.sf.net/ftp/PyOpenGL- 2.0.1.46.a1.tar.gz ---------------------------------------------------------------------- Comment By: John A. Turner (turner) Date: 2001-11-23 00:29 Message: Logged In: YES user_id=20477 ugh - sorry about the formatting of the report - hope it is understandable - if not let me know and I'll upload files with the requisite info... ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=205988&aid=484774&group_id=5988 |
From: <no...@so...> - 2001-11-28 14:09:31
|
Support Requests item #484774, was opened at 2001-11-23 00:26 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=205988&aid=484774&group_id=5988 Category: build Group: v2.0 Status: Open Priority: 5 Submitted By: John A. Turner (turner) Assigned to: Tarn Weisner Burton (twburton) Summary: cygwin build problems Initial Comment: thought I'd try PyOpenGL2 on win2k/cygwin using cygwin 1.3.5 and the cygwin port of python 2.1.1 and a fresh CVS checkout of PyOpenGL2 first copied config/win32.cfg to config/cygwin.cfg, since OpenGL progs compiled with cygwin's gcc use the normal win32 libs (opengl32, glu32, etc.) here's what the first bit of setup reports: PyOpenGL 2.0.1.45.a1 setup System configuration: Platform = cygwin GL Platform = WGL Numeric = 20.2.2 Build Togl = yes 1. first prob was that I didn't have SWIG, so I got: swig -version unable to execute swig: No such file or directory swig1.3 -version unable to execute swig1.3: No such file or directory warning: build_w: Can't find SWIG, will just have to do with the existing wrapper source. which would likely be ok except that soon after: cc -I/usr/include/python2.1/Numeric -c _configtest.c - o _configtest.o unable to execute cc: No such file or directory I didn't know how to force setup to use gcc rather than cc, so I took the easy way out and copied /usr/bin/gcc.exe to /usr/bin/cc.exe that at least allowed things to progress... 2. next, saw lots of warnings about missing __init.py__ files, most in the Demo subdir 3. finally, failed with: running build_clib building 'interface_util' library creating build/temp.cygwin-1.3.5-i686-2.1 gcc -g -O2 -Wall -Wstrict-prototypes -DUSE_DL_IMPORT - DWGL_PLATFORM -DNUMERIC -I/usr/include/python2.1 - I/usr/include/python2.1/Numeric - I/usr/include/python2.1/Numeric -c src/interface_util/interface_util.c -o build/temp.cygwin-1.3.5-i686-2.1/interface_util.o src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsFloatArray': src/interface_util/interface_util.c:698: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsDoubleArray': src/interface_util/interface_util.c:701: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsCharArray': src/interface_util/interface_util.c:704: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsUnsignedCharArray': src/interface_util/interface_util.c:707: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsShortArray': src/interface_util/interface_util.c:710: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsUnsignedShortArray': src/interface_util/interface_util.c:713: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsIntArray': src/interface_util/interface_util.c:716: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsUnsignedIntArray': src/interface_util/interface_util.c:719: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: At top level: src/interface_util/interface_util.c:780: warning: function declaration isn't a prototype gcc -g -O2 -Wall -Wstrict-prototypes -DUSE_DL_IMPORT - DWGL_PLATFORM -DNUMERIC -I/usr/include/python2.1 - I/usr/include/python2.1/Numeric - I/usr/include/python2.1/Numeric -c src/interface_util/platform.c -o build/temp.cygwin- 1.3.5-i686-2.1/platform.o src/interface_util/platform.c:4: warning: function declaration isn't a prototype src/interface_util/platform.c: In function `GetPlatformExtensionsString': src/interface_util/platform.c:7: warning: function declaration isn't a prototype ar -cr build/temp.cygwin-1.3.5-i686- 2.1/libinterface_util.a build/temp.cygwin-1.3.5-i686- 2.1/interface_util.o build/temp.cygwin-1.3.5-i686- 2.1/platform.o running build_ext building 'GL.ARB.matrix_palette' extension error: file 'src/interface/GL.ARB.matrix_palette.c' does not exist any suggestions? thanks in advance... -JT ---------------------------------------------------------------------- >Comment By: Tarn Weisner Burton (twburton) Date: 2001-11-28 06:09 Message: Logged In: YES user_id=21784 As I said in my previous comments, You need SWIG 1.3a5. SWIG 1.3.9 won't work. ---------------------------------------------------------------------- Comment By: John A. Turner (turner) Date: 2001-11-27 22:39 Message: Logged In: YES user_id=20477 ok, went ahead and grabbed SWIG 1.3.9 and built (no probs), then cvs-upped PyOpenGL2 and tried again this time it choked here: Building wrappers for GL.__init__ Generating shadow version selector Generating C version selector Generating wrappers for API version 0x0101 swig -python -Iinterface -shadow -DAPI_VERSION=257 -o src/interface/GL.__init___.0101.inc interface/GL/__init__.i Syntax error interface/GL/__init__.i:1006. Syntax error in input. ---------------------------------------------------------------------- Comment By: Tarn Weisner Burton (twburton) Date: 2001-11-23 08:10 Message: Logged In: YES user_id=21784 You need SWIG 1.3a5 to build out of CVS. The "cc" problem has been fixed in CVS, but the build still doesn't complete on my system due to an internal compiler error. Before you do a CVS checkout be sure to move your cygwin.cfg file out of the way, since there is one in CVS now. There is also a complete source code dist (no need for SWIG) at http://pyopengl.sf.net/ftp/PyOpenGL- 2.0.1.46.a1.tar.gz ---------------------------------------------------------------------- Comment By: John A. Turner (turner) Date: 2001-11-23 00:29 Message: Logged In: YES user_id=20477 ugh - sorry about the formatting of the report - hope it is understandable - if not let me know and I'll upload files with the requisite info... ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=205988&aid=484774&group_id=5988 |
From: <no...@so...> - 2001-11-28 06:39:22
|
Support Requests item #484774, was opened at 2001-11-23 00:26 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=205988&aid=484774&group_id=5988 Category: build Group: v2.0 Status: Open Priority: 5 Submitted By: John A. Turner (turner) Assigned to: Tarn Weisner Burton (twburton) Summary: cygwin build problems Initial Comment: thought I'd try PyOpenGL2 on win2k/cygwin using cygwin 1.3.5 and the cygwin port of python 2.1.1 and a fresh CVS checkout of PyOpenGL2 first copied config/win32.cfg to config/cygwin.cfg, since OpenGL progs compiled with cygwin's gcc use the normal win32 libs (opengl32, glu32, etc.) here's what the first bit of setup reports: PyOpenGL 2.0.1.45.a1 setup System configuration: Platform = cygwin GL Platform = WGL Numeric = 20.2.2 Build Togl = yes 1. first prob was that I didn't have SWIG, so I got: swig -version unable to execute swig: No such file or directory swig1.3 -version unable to execute swig1.3: No such file or directory warning: build_w: Can't find SWIG, will just have to do with the existing wrapper source. which would likely be ok except that soon after: cc -I/usr/include/python2.1/Numeric -c _configtest.c - o _configtest.o unable to execute cc: No such file or directory I didn't know how to force setup to use gcc rather than cc, so I took the easy way out and copied /usr/bin/gcc.exe to /usr/bin/cc.exe that at least allowed things to progress... 2. next, saw lots of warnings about missing __init.py__ files, most in the Demo subdir 3. finally, failed with: running build_clib building 'interface_util' library creating build/temp.cygwin-1.3.5-i686-2.1 gcc -g -O2 -Wall -Wstrict-prototypes -DUSE_DL_IMPORT - DWGL_PLATFORM -DNUMERIC -I/usr/include/python2.1 - I/usr/include/python2.1/Numeric - I/usr/include/python2.1/Numeric -c src/interface_util/interface_util.c -o build/temp.cygwin-1.3.5-i686-2.1/interface_util.o src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsFloatArray': src/interface_util/interface_util.c:698: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsDoubleArray': src/interface_util/interface_util.c:701: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsCharArray': src/interface_util/interface_util.c:704: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsUnsignedCharArray': src/interface_util/interface_util.c:707: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsShortArray': src/interface_util/interface_util.c:710: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsUnsignedShortArray': src/interface_util/interface_util.c:713: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsIntArray': src/interface_util/interface_util.c:716: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: In function `NonNumeric_PyObject_AsUnsignedIntArray': src/interface_util/interface_util.c:719: warning: suggest parentheses around assignment used as truth value src/interface_util/interface_util.c: At top level: src/interface_util/interface_util.c:780: warning: function declaration isn't a prototype gcc -g -O2 -Wall -Wstrict-prototypes -DUSE_DL_IMPORT - DWGL_PLATFORM -DNUMERIC -I/usr/include/python2.1 - I/usr/include/python2.1/Numeric - I/usr/include/python2.1/Numeric -c src/interface_util/platform.c -o build/temp.cygwin- 1.3.5-i686-2.1/platform.o src/interface_util/platform.c:4: warning: function declaration isn't a prototype src/interface_util/platform.c: In function `GetPlatformExtensionsString': src/interface_util/platform.c:7: warning: function declaration isn't a prototype ar -cr build/temp.cygwin-1.3.5-i686- 2.1/libinterface_util.a build/temp.cygwin-1.3.5-i686- 2.1/interface_util.o build/temp.cygwin-1.3.5-i686- 2.1/platform.o running build_ext building 'GL.ARB.matrix_palette' extension error: file 'src/interface/GL.ARB.matrix_palette.c' does not exist any suggestions? thanks in advance... -JT ---------------------------------------------------------------------- >Comment By: John A. Turner (turner) Date: 2001-11-27 22:39 Message: Logged In: YES user_id=20477 ok, went ahead and grabbed SWIG 1.3.9 and built (no probs), then cvs-upped PyOpenGL2 and tried again this time it choked here: Building wrappers for GL.__init__ Generating shadow version selector Generating C version selector Generating wrappers for API version 0x0101 swig -python -Iinterface -shadow -DAPI_VERSION=257 -o src/interface/GL.__init___.0101.inc interface/GL/__init__.i Syntax error interface/GL/__init__.i:1006. Syntax error in input. ---------------------------------------------------------------------- Comment By: Tarn Weisner Burton (twburton) Date: 2001-11-23 08:10 Message: Logged In: YES user_id=21784 You need SWIG 1.3a5 to build out of CVS. The "cc" problem has been fixed in CVS, but the build still doesn't complete on my system due to an internal compiler error. Before you do a CVS checkout be sure to move your cygwin.cfg file out of the way, since there is one in CVS now. There is also a complete source code dist (no need for SWIG) at http://pyopengl.sf.net/ftp/PyOpenGL- 2.0.1.46.a1.tar.gz ---------------------------------------------------------------------- Comment By: John A. Turner (turner) Date: 2001-11-23 00:29 Message: Logged In: YES user_id=20477 ugh - sorry about the formatting of the report - hope it is understandable - if not let me know and I'll upload files with the requisite info... ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=205988&aid=484774&group_id=5988 |