Re: Setting Up on New Machine

"Mike C. Fletcher" <[email protected]>
Newsgroups gmane.comp.python.opengl.user
Message-ID <[email protected]>
On 12-02-25 07:19 PM, Ian Mallett wrote:
> On Fri, Feb 3, 2012 at 11:09 AM, Mike C. Fletcher 
> <[email protected] <mailto:[email protected]>> 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


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.