laanwj / sundog

A port of the Atari ST game SunDog: Frozen Legacy (1984) by FTL software

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can we make it work on MacOS?

tpitman opened this issue · 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.

commented

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.