Skip to content

Add macOS Build Support#30

Open
Casuallynoted wants to merge 8 commits into
DinosaurPlanetRecomp:mainfrom
Casuallynoted:main
Open

Add macOS Build Support#30
Casuallynoted wants to merge 8 commits into
DinosaurPlanetRecomp:mainfrom
Casuallynoted:main

Conversation

@Casuallynoted

Copy link
Copy Markdown

This should help with #25 :)

@Casuallynoted

Casuallynoted commented Dec 26, 2025

Copy link
Copy Markdown
Author

DinosaurPlanetRecompiled.zip
Example of a binary built from it, packed into an application file.

@Casuallynoted Casuallynoted changed the title Add macOS Build Instrutions Add macOS Build Support Dec 26, 2025

@Francessco121 Francessco121 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for looking into this!

I'm not totally sure how to proceed with this truthfully, as I don't have the means to maintain any of this code going forward (I do not own a mac). It's very likely that future updates will break macOS support and require someone else to step in.

That said, if this were to get merged and released, there's a couple important things that need to be sorted out first:

  • Debug UI support.
  • A GitHub Actions job to make a release build.

Comment thread src/debug_ui/backend.cpp
Comment thread BUILDING.md
Comment thread BUILDING.md

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The new additions aren't really formatted like the rest of the document but that's something I can address later, not a big deal.

Comment thread src/debug_ui/backend.cpp
case RT64::UserConfiguration::GraphicsAPI::Metal: {
// Metal not supported for debug UI
#ifdef __APPLE__
ImGui_ImplMetal_Init(nullptr);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It looks like (and I could be wrong) ImGui_ImplMetal_NewFrame cannot take a nullptr. Have you had a chance to test this?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Hey there! Sorry about that, you're right - I did test it and sadly it still needs work. Haven't had the chance to continue working on it though. I'm going to see if I can get some work in tonight to get it going!

@Francessco121

Copy link
Copy Markdown
Member

Thanks for looking into ImGui and the CI. I'm not in a good spot to properly review this right now but I'll be considering merging this and shipping a mac build for the next recomp release.

@nitrostemp

Copy link
Copy Markdown

any chance we can get an update on this?
when i tried to launch this on my mac it crashes.

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