Wie man CMake-Build-Fehler auf Ubuntu behebt: Could NOT find GLEW (missing: GLEW_INCLUDE_DIR GLEW_LIBRARY)
English
Deutsch
Problem:
Beim Erstellen eines Software-Projekts mit cmake sehen Sie Fehlermeldungen wie
install_glew.sh
CMake Error at /usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find GLEW (missing: GLEW_INCLUDE_DIR GLEW_LIBRARY)
Call Stack (most recent call first):
/usr/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
cmake/FindGLEW.cmake:38 (find_package_handle_standard_args)
CMakeLists.txt:743 (find_packageLösung
Installieren Sie libglew-dev
install_libglew_dev.sh
sudo apt -y install libglew-devIf this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow