When compiling pango I get this error:
lib/libfreetype.so: undefined reference to `hb_ft_font_create'
I've compiled freetype and harfbuzz; also I pass -lfreetype
and -lharfbuzz
in LIBS
variable.
Im guessing you're using Freetype as part of some other library, in which case you may not need harfbuzz, which seems to be there for some kind of smoothing on the fonts.
If this is the case, at the top of cmakelists.txt for FreeType just add
set (CMAKE_DISABLE_FIND_PACKAGE_HarfBuzz TRUE)
its not required to build freetype
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With