CMake error no CMAKE_C_COMPILER could be found using Xcode and GLFW August 18, 2023 by Tarik If you have installed Xcode or Command Line Tools for Xcode, try this: sudo xcode-select --reset