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

Build on MacOS #42

Merged
merged 1 commit into from
Aug 25, 2022
Merged

Conversation

iwahbe
Copy link
Contributor

@iwahbe iwahbe commented Jun 25, 2022

This PR gets Diagon building on my Mac. I had trouble linking cstd++fs with clang, but it worked with GCC. I figured that since you already have a GCC target ("Linux GCC") that this would be ok. Let me know if this presents a problem.

@ArthurSonzogni
Copy link
Owner

Ooops. I totally missed this PR.
Let's try it. Thanks you!

@ArthurSonzogni ArthurSonzogni merged commit dc46e04 into ArthurSonzogni:master Aug 25, 2022
@iwahbe iwahbe deleted the iwahbe/compile-on-mac branch August 25, 2022 12:38
@iwahbe
Copy link
Contributor Author

iwahbe commented Aug 25, 2022

Looks like there is some pathing problems with CMAKE: https://github.com/ArthurSonzogni/Diagon/runs/8015218426?check_suite_focus=true.

@iwahbe
Copy link
Contributor Author

iwahbe commented Aug 25, 2022

I think the fix is to pin the version of gcc to install: brew install gcc@11.
We should probably also bump the gcc version mentioned from 11 to 12, but I haven't tested on the version.

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.

2 participants