Closed maladr0it closed 1 year ago
This is linker error you are hitting, the fix would be to pass -Lpath
flag as well, here's the patch which uses pkg-config
to query for include and lib flags (works on m1 MacBook with new homebrew layout):
https://gist.github.com/andreypopp/c5588c51ca207d48a22ccf6b3013e5ff
The build now requires CMake and has been overhauled. Please reopen if the issue persists.
On an m1 macbook, I cloned the repository recursively, and ran
make
The following error is printed
Using the cmake GUI, it reports to me:
I have tried installing freetype via
brew install freetype
, and modifying the Makefile to point freetype like so:This instead produces the error:
I believe macOS should already include the freetype library anyway.
I have successfully built this library on other macOS machines, so I'm not sure if I'm doing something wrong or there is something unique about my setup that is causing this issue.