sundog icon indicating copy to clipboard operation
sundog copied to clipboard

Can we make it work on MacOS?

Open tpitman opened this issue 2 years ago • 1 comments

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.

tpitman avatar Oct 15 '21 14:10 tpitman

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 https://github.com/laanwj/sundog/issues/21#issuecomment-1407639384). There it's a matter of copying some DLLs where SDL can find them.

laanwj avatar Jan 28 '23 18:01 laanwj