Wie man CMake-Build-Fehler auf Ubuntu behebt: Could NOT find HarfBuzz (missing: HarfBuzz_INCLUDE_DIR HarfBuzz_LIBRARY
English
Deutsch
Problem:
Beim Erstellen eines Software-Projekts mit cmake sehen Sie Fehlermeldungen wie
cmake_harfuzz_error.txt
CMake Error at /usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find HarfBuzz (missing: HarfBuzz_INCLUDE_DIR HarfBuzz_LIBRARY
_HarfBuzz_REQUIRED_LIBS_FOUND)
Call Stack (most recent call first):
/usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
cmake/FindHarfBuzz.cmake:153 (find_package_handle_standard_args)
CMakeLists.txt:801 (find_package)Lösung
Installieren Sie libharfbuzz-dev
install_libharfbuzz_dev.sh
sudo apt -y install libharfbuzz-devIf this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow