I just ran into some issues while attempting to cx_Freeze an application
that uses PyOpenGL. The build process would execute to completion, but upon
trying to run the generated executable, I would get a message stating that
the "win32" module could not be found.
I'm posting the solution that worked for me, in case anyone ever runs into
the same issue.
What I had to do was to add the following imports:
from OpenGL.GL import *
#import OpenGL.arrays.strings #Only if you use GLSL
I got the original idea from this thread:
I just needed to add a couple of additional imports.
Well, I hope this helps anyone.
Get latest updates about Open Source Projects, Conferences and News.