Skip to content

Conversation

@Causeless
Copy link
Contributor

Bunch of things I noticed while trying to build and run the game on Mac. Some of this is a bit guessworky as I'm not too experienced in this side of things. See the commit descriptions for my justifications for the various changes, but I've probably gotten some stuff wrong here or missed other stuff so would be great to have a careful look over.

* Use core opengl version so works on OSX
* Use texture, not deprecated texture2D (and renamed appropriately)
* GCC 12 wasn't compiling for me anymore. I had to update to 13- unsure if this is MacOSX specific, but updating
* We use SDL3 now, not SDL2.
* SDL2_Image is gone
* Upped meson version to 1.6 SDL3 seems to require it, and tracy at least requires 1.3. In any case I had to update past 1.0.0 (which I had) to build.
* Updated version number in meson to be representative of the actual project now (not pre 4.1!)
@Causeless Causeless requested a review from HeliumAnt January 1, 2026 19:02
@Causeless
Copy link
Contributor Author

Causeless commented Jan 1, 2026

Hmm. Looks like we only need SDL3 as a dependency on Mac?

if host_machine.system() == 'darwin'
sdl3_dep = dependency('sdl3')
else

I see we're linking statically on Linux/Windows- should I remove SDL3 as a dependency in README instructions for Linux?

…ng set before tracy had a change to do its thing

../external/sources/tracy/meson.build:230:6: ERROR: Tried to override dependency 'tracy' which has already been resolved or overridden at ../external/sources/allegro 4.4.3.1-custom/meson.build:75
Copy link
Contributor

@HeliumAnt HeliumAnt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

readme is quite out of date indeed

(until we use systemlib sdl3 again)
Copy link
Contributor

@HeliumAnt HeliumAnt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Causeless Causeless added this pull request to the merge queue Jan 1, 2026
Merged via the queue into development with commit a6ec694 Jan 1, 2026
4 checks passed
@Causeless Causeless deleted the mac-fixes branch January 1, 2026 20:50
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.

3 participants