Closed timothypratley closed 3 years ago
Which version of OS X is this? And could I ask—do you happen to know which C compiler is used on your machine?
Hi @gjtorikian
I'm on macOS Big Sur Version 11.1
$ cc --version
Apple clang version 12.0.0 (clang-1200.0.32.28)
Target: x86_64-apple-darwin20.2.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
XCode.
For reference,
I checked out the mathematical project and received the same compile error.
Adding #include <mtex2MML.h>
to mathematical.h
allows the project to compile successfully.
Happy to submit a PR, I haven't really read the code so it seems to me there might be a better place to include the header file... but ultimately this seems like a tiny oversight that the Apple compiler is just more picky about.
Oh yeah if that worked I’d definitely take a PR for it!
@gjtorikian cool, I had to fiddle with the CI settings a little bit to get it to pass, but it seems to be ready for your review now.
Thank you @gjtorikian for the quick merge and release. Solved.
I followed the installation dependencies instructions here: https://github.com/asciidoctor/asciidoctor-mathematical/issues/81
Is this an easy change to make?