Re: [PyOpenGL-Users] Setting Up on New Machine
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@vr...> - 2012-02-27 14:04:17
|
On 12-02-25 07:19 PM, Ian Mallett wrote: > On Fri, Feb 3, 2012 at 11:09 AM, Mike C. Fletcher > <mcf...@vr... <mailto:mcf...@vr...>> wrote: > > The tess issues seem to have been there for a long time; it works > perfectly well in OpenGLContext' usage and tests, and even works > if I copy the OpenGLContext test into a raw test, but the original > test doesn't generate vertices (it wasn't checking for that > previously). At this point I'm assuming this is just a test-setup > issue, so not a critical fix. > > Yeah, I'm not too concerned about gluTess* stuff; there's hardware > support for tessellation now, which is better. And I can honestly > say, I've not had need for either. > > I am having a new problem, however. glutInit is failing. The error > looks something like: > > Traceback (most recent call last): > File "<pyshell#2>", line 1, in <module> > glutInit() > File > "C:\dev\Python26\lib\site-packages\pyopengl-3.0.2a4-py2.6.egg\OpenGL\GLUT\special.py", > line 324, in glutInit > _base_glutInit( ctypes.byref(count), holder ) > TypeError: 'NoneType' object is not callable > > There are similar problems with other GLUT functions. I read > somewhere that this may be due to 64 bit issues (i.e., PyOpenGL is > trying to use a glut32.dll compiled for 32 bit platforms). Is this > the case? And is there a way to solve it for the general case? > > Thanks, > Ian Likely need to recompile all of the glut, gle, accelerate etc DLLs if that's the case. I'll see if I can get some time to do that today. Don't know if I have all of the compilation tools set up properly for the 64-bit Windows, so that might be a bit of a challenge (hopefully mingw64 exists and will work with 2.6). Python 2.7 *should* IIRC work with the currently-available free compiler, so *that* should be straightforward. Always more work than time, Mike -- ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com |