ArthurSonzogni / Diagon

Interactive ASCII art diagram generators. :star2:
https://arthursonzogni.com/Diagon/
MIT License
1.47k stars 56 forks source link

Build on MacOS #42

Closed iwahbe closed 1 year ago

iwahbe commented 2 years ago

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 commented 1 year ago

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

iwahbe commented 1 year ago

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

iwahbe commented 1 year ago

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.