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

Add "mingw-w64-x86_64-angleproject" to properly retrieve system EGL libs #1311

Closed

Conversation

ohenley
Copy link

@ohenley ohenley commented Dec 3, 2024

@onox, @charlie5

I tested this on Windows, and as it stands, the mingw-w64-x86_64-mesa package does not provide the necessary EGL libraries, so linking fails. To resolve this, I had to install the mingw-w64-x86_64-angleproject package, which includes libEGL and related libraries. Could you confirm if there was another intended way to provide these libraries?

@mosteo I manually added the following entry:

msys2 = ["mingw-w64-x86_64-mesa", "mingw-w64-x86_64-angleproject"]

to C:\Users\olivi\AppData\Local\alire\settings\indexes\community\repo\index\li\libegl\libegl-external.toml, but it didn’t trigger the installation of mingw-w64-x86_64-angleproject (running alr update had no effect). I had to install it manually using the MSYS2 console.

Because of this, I’m unsure if my proposed changes are the correct way to address the issue or if there’s a different intended process for triggering the installation locally.

Thank you,
Olivier

@mosteo
Copy link
Member

mosteo commented Dec 10, 2024

msys2 = ["mingw-w64-x86_64-mesa", "mingw-w64-x86_64-angleproject"]

This won't work, as that is a list of possible candidates to look for in the system. If several report the same version, only the first one is kept as the provider.

In essence, if -mesa is not providing EGL, it was wrongly used. Only -angleproject should be listed. Could you please try that?

@ohenley
Copy link
Author

ohenley commented Dec 10, 2024

Thank you for the feedback Mosteo.

Turns out EGL is probably not the answer for Windows anyway. (Because, IIUC, EGL as implemented by angle on Windows is backed by OpenGL ES only and not full fledge OpenGL)

I will close for now.

@ohenley ohenley closed this Dec 10, 2024
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

Successfully merging this pull request may close these issues.

2 participants