[wxPython-users]GLCanvas cannot be loaded in Demo

甜瓜 littlesweetmelon at gmail.com
Fri May 18 01:25:25 PDT 2007


I have got the answer:

Yup, it's a bug.  I'll try to find some time to work on it this
weekend.  That said, the bug I'm talking about fixing is that it's not
returning a NULL function object that will raise a more informative
error when you try to call it.  It looks like loading the GLUT DLL is
failing.  You are on Win32, so it's *possible* you just don't have GLUT
installed in system32, otherwise we'll need to track down why it's not
finding/loading the DLL for you.

Good luck,
Mike

------------------
Thank you. I hope it will be fixed soon. Now the walkaround I used is
to comment out the line:
## _base_glutDestroyWindow = GLUT.glutDestroyWindow

After this, the demo project in wxPython.GLCanvas works.

ShenLei

But the GLCanvas demo only partially works ( Cone shows a small
transparent box). I will spend some time to find the reason.

--
ShenLei




More information about the wxpython-users mailing list