Re: PyOpenGL error

"Mike C. Fletcher" <[email protected]>
Newsgroups gmane.comp.python.opengl.devel
Message-ID <[email protected]>
Sebastien Ramage wrote:
> GLE is not a part of glut32.dll ???
>
> >>> import ctypes
> >>> g = ctypes.windll.glut32
> >>> g.glutAttachMenu
> <_FuncPtr object at 0x00969300>
> >>> e = g.gleExtrusion
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "C:\Python25\lib\ctypes\__init__.py", line 325, in __getattr__
>     func = self.__getitem__(name)
>   File "C:\Python25\lib\ctypes\__init__.py", line 330, in __getitem__
>     func = self._FuncPtr((name_or_ordinal, self))
> AttributeError: function 'gleExtrusion' not found
Weird, no, GLE is not part of the GLUT dll on Win32 AFAIK.  It is on 
Apple, apparently, but not on Win32 (with a normal GLUT binary 
distributable).  GLE's future development is done withing the GLUT 
project IIRC, but it's a separate DLL in normal builds.  We'll have to 
fix that reference in win32.py .

Thanks for pointing out the problem,
Mike

-- 
________________________________________________
  Mike C. Fletcher
  Designer, VR Plumber, Coder
  http://www.vrplumber.com
  http://blog.vrplumber.com


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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.