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

Can we make it work on MacOS? #10

Open
tpitman opened this issue Oct 15, 2021 · 2 comments
Open

Can we make it work on MacOS? #10

tpitman opened this issue Oct 15, 2021 · 2 comments
Labels

Comments

@tpitman
Copy link

tpitman commented Oct 15, 2021

Thank you for your efforts.

I am trying to get this working on MacOS. I noticed that it needs EGL to run. I found the ANGLE EGL project, but can't figure out how to make them work together.

I built the Angle project and then ran the sundog you made that I also had built and sundog is reporting it can't create the EGL window.

Can you point out in your project where the compiling and linking to EGL would be? I think I need to put it to the Angle project's libraries.

@laanwj laanwj added the question label Jan 1, 2023
@laanwj
Copy link
Owner

laanwj commented Jan 28, 2023

There is no direct handling of EGL, this is done though SDL. Luckily, this library exists for MacOS so we can just use that.

Following these steps from the CI should work:
https://github.com/laanwj/sundog/blob/main/.github/workflows/ci_meson.yml#L34

I think I need to put it to the Angle project's libraries.

Yes, this is the case on Windows as well (see #21 (comment)). There it's a matter of copying some DLLs where SDL can find them.

@Giwaruly

This comment was marked as off-topic.

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

No branches or pull requests

3 participants