davidgiven / wordgrinder

A word processor which gets the hell out of your way and lets you get some work done.
http://cowlark.com/wordgrinder
828 stars 53 forks source link

Build fails on macOS - not finding cmark #246

Open dei-layborer opened 1 year ago

dei-layborer commented 1 year ago

Long-time user (albeit off and on), so definitely happy to see mac support! Unfortunately, can't get it to build.

To preface: I've installed the listed dependencies via homebrew as best I can tell (ninja, pkg-config, glfw). However, there are additional dependencies that I also had to install (from homebrew): imagemagick (to get convert) and fmt (to get fmt/format.h).

But the main problem is that make fails as it cannot find cmark.h. I have both cmake and cmark installed from homebrew, so I'm not sure why it can't find the header. Any ideas?

moonmaster9000 commented 10 months ago

I'm on Ubuntu, but I ran into the same problem. I had to sudo apt-get install libcmark-dev to overcome that particular hurdle. Perhaps homebrew has an analogous tap?

dei-layborer commented 10 months ago

Thanks for following up! Unfortunately, I can't find anything analogous on homebrew...there's just cmake and cmark.

moonmaster9000 commented 10 months ago

I see. Then I recommend just installing the library headers from source yourself: https://github.com/commonmark/cmark