Support for PyOpenGL
See original GitHub issueI’m unable to compile project that uses PyOpenGL
Error message:
Traceback (most recent call last):
File "<string>", line 3, in _wrapped_function_initializeGL_21
File "C:\Users\neman\AppData\Local\Temp\ONC9F3~1\pg_ui\pg_node_editor\pg_view_3d.py", line 67, in initializeGL
File "C:\Users\neman\AppData\Local\Temp\ONC9F3~1\pg_gl_util\pg_texture.py", line 45, in create
File "C:\Users\neman\AppData\Local\Temp\ONC9F3~1\OpenGL\latebind.py", line 45, in __call__
File "C:\Users\neman\AppData\Local\Temp\ONC9F3~1\OpenGL\wrapper.py", line 656, in wrapperCall
File "C:\Users\neman\AppData\Local\Temp\ONC9F3~1\OpenGL\wrapper.py", line 459, in calculate_cArgs
File "C:\Users\neman\AppData\Local\Temp\ONC9F3~1\OpenGL\converters.py", line 251, in __call__
File "C:\Users\neman\AppData\Local\Temp\ONC9F3~1\OpenGL\converters.py", line 196, in __call__
File "C:\Users\neman\AppData\Local\Temp\ONC9F3~1\OpenGL\arrays\arraydatatype.py", line 172, in zeros
File "C:\Users\neman\AppData\Local\Temp\ONC9F3~1\OpenGL\arrays\arraydatatype.py", line 79, in get_output_handler
RuntimeError: ('Unable to find any output handler at all (not even ctypes/numpy ones!)', 'Failure in cConverter <OpenGL.converters.SizedOutputOrInput object at 0x0000016B6571DD40>', (1, <object object at 0x0000016B63CCAE40>), 1, <OpenGL.platform.baseplatform.glGenTextures object at 0x0000016B657F3A80>)
On the:
File "C:\Users\neman\AppData\Local\Temp\ONC9F3~1\pg_gl_util\pg_texture.py", line 45, in create
I’m calling OpenGL function for the first time:
GL.glGenTextures(1)
I’ve tried to follow #86 but it is a bit confusing. Anyway, --include-module=OpenGL.platform.win32
doesn’t seem to help
Python version: Python 3.8.11
Nuitka version:
0.6.17.7
Commercial: None
Python: 3.8.11 (default, Aug 6 2021, 09:57:55) [MSC v.1916 64 bit (AMD64)]
Executable: C:\Users\neman\Anaconda3\envs\trivial\python.exe
OS: Windows
Arch: x86_64
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (8 by maintainers)
Top Results From Across the Web
PyOpenGL -- The Python OpenGL Binding
PyOpenGL Supports · Python 3.3+ (3.2 support is likely to work, but untested) · Python 2.7 (recommended) · Python 2.6 (for compatibility with...
Read more >PyOpenGL · PyPI
You can run the PyOpenGL test suite from a source-code checkout, you will need: git (for the checkout). GLUT (FreeGLUT). GLExtrusion library (libgle)....
Read more >[pyOpenGL] Help Needed to Install it ! - Python Forum
Most users of PyOpenGL should use pip to install PyOpenGL automatically. It can be installed either to the system Python or a Virtualenv....
Read more >PyOpenGl - Python Wiki
PyOpenGL includes support for OpenGL v1.1, GLU, GLUT v3.7, GLE 3, WGL 4, and Togl (Tk OpenGL widget) 1.6. It also includes support...
Read more >PyOpenGL-3.1.5-cp36-cp36m-win_amd64.whl is not a ...
"PyOpenGL-3.1.5-cp36-cp36m-win_amd64.whl is not a supported wheel on this platform." means that either your Python is 3.6 or is not 64-bit ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Part of the current pre-release.
On factory the plugin
glfw
is now enabled by default, and I also moved the OpenGL platform plugin handling to there, so this should be all good now. https://nuitka.net/doc/factory.html