Skip to content Skip to sidebar Skip to footer

How To Use Freeglut Glutmousewheelfunc In Pyopengl Program?

I have installed PyOpenGL from here for 64-bit Python 3.x and Windows 7. I am able to write and execute a PyOpenGL program that uses glutMouseFunc to listen to mouse button clicks:

Solution 1:

PyOpenGL loads the GLUT dll by default. To use freeglut instead, rename or delete the glut64.vc9.dll file in the OpenGL/DLLs directory and make sure no such file exists elsewhere in the Windows DLL search path. Works for me.


Post a Comment for "How To Use Freeglut Glutmousewheelfunc In Pyopengl Program?"