Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: cannot initialize a variable of type 'EGLDeviceEXT *' (aka 'void **') with an rvalue of type 'void *' #32

Closed
yurivict opened this issue Jan 20, 2023 · 4 comments

Comments

@yurivict
Copy link

glcontext/egl.cpp:219:23: error: cannot initialize a variable of type 'EGLDeviceEXT *' (aka 'void **') with an rvalue of type 'void *'
        EGLDeviceEXT* devices = malloc(sizeof(EGLDeviceEXT) * num_devices);
                      ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Version: 2.3.7
Python-3.9
clang-14
FreeBSD 13.1

@szabolcsdombi
Copy link
Member

szabolcsdombi commented Jan 21, 2023

thank you for reporting this., if you make a PR with (EGLDeviceEXT *) added before malloc we can merge it and release it.

@theoparis
Copy link

It seems like I have to install from git due to there being no release with 8a69183 😕

@szabolcsdombi
Copy link
Member

You can install directly from github.

pip install https://github.com/moderngl/glcontext/archive/refs/heads/master.zip

@szabolcsdombi
Copy link
Member

szabolcsdombi commented Jul 12, 2023

Released 2.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants