Wie man CMake-Build-Fehler auf Ubuntu behebt: Could NOT find GLM (missing: GLM_INCLUDE_DIR GLM_VERSION)
English
Deutsch
Problem:
Beim Erstellen eines Software-Projekts mit cmake sehen Sie Fehlermeldungen wie
install_libglm.sh
CMake Error at /usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find GLM (missing: GLM_INCLUDE_DIR GLM_VERSION) (Required is at
least version "0.9.8")
Call Stack (most recent call first):
/usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
cmake/FindGLM.cmake:54 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:751 (find_package)Lösung
Installieren Sie libglm-dev
install_libglm_dev.sh
sudo apt -y install libglm-devIf this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow