Open dei-layborer opened 1 year 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?
Thanks for following up! Unfortunately, I can't find anything analogous on homebrew...there's just cmake
and cmark
.
I see. Then I recommend just installing the library headers from source yourself: https://github.com/commonmark/cmark
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 getconvert
) andfmt
(to getfmt/format.h
).But the main problem is that
make
fails as it cannot findcmark.h
. I have bothcmake
andcmark
installed from homebrew, so I'm not sure why it can't find the header. Any ideas?