macOS. library not found for -lcairo
Linking... ld: library not found for -lcairo clang: error: linker command failed with exit code 1 (use -v to see invocation) --- errorlevel 1 dmd failed with exit code 1. Joels-MacBook-Pro:plotd joelchristensen$
You'll have to install cairo. More information https://www.cairographics.org/download/
I would think it is also in brew:
brew install cairo
I used brew install cairo it installed, but I still get the same error, as before!
Does the prebuild binary work for you? https://github.com/BlackEdder/plotd/releases
That one is build on travis using:
brew update
brew install cairo gtk+3
as far as I know gtk+3 is only needed for the gtk build, but you could try if that helps.
Has this been solved? Can I close this issue?