Re: [PyOpenGL-Users] bus error on gluNewQuadric()
Brought to you by:
mcfletch
From: altern <en...@al...> - 2004-10-21 09:44:06
|
Patrick Hartling wrote: > altern wrote: > >> hi >> >> i am working on the OS X port of a program and I get a "bus error" >> caused by this opengl code (it didnt happen on Windows) >> q = gluNewQuadric() >> >> anyone knows if this is a bug on pyOpengl under mac? i am opening the >> opengl canvas on a wx window. i am not sure if this could be part of >> the problem > > > I have run into this same problem without PyOpenGL involved at all. A > Google search turned up this post: > > http://lists.apple.com/archives/darwin-development/2003/May/msg00158.html > > By swapping the order of -lGL and -lGLU when linking, I was able to fix > the problem I had. do you mean that on the imports i should swap the order of these instructions? from OpenGL.GL import * from OpenGL.GLU import * I tried this and i get the same error. maybe i dont understand what you mean? -- enrike |