pyGLFW: OpenGL version check crashes for frozen executables like PyInstaller/cxFreeze
When running the following script under PyInstaller, trying to import glfw causes an infinite loop while trying to determine the imported OpenGL library version:
Context:
Please rework the check in a way that is compatible with PyInstaller/cxFreeze so programs using GLFW can be packaged properly.
AFAICS, it should be possible to rewrite this code transparently using the multiprocessing module (and a fork context), which also should simplify returning the retrieved values back to the caller.
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 19 (10 by maintainers)
The MSVC runtime is only loaded for bundled DLLs, for which I know which runtime to load.
I’ve released the changes as v2.6.0, thank you again for your help!