Hi! Thanks for the code! I'm, new to my M1 mac and macOS and I'm having some problems when I run this part
cmake ..
I get this error
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
I've tried these solutions from stackoverflow , but they haven't helped
sudo xcode-select --reset
from [1]https://stackoverflow.com/questions/41380900/cmake-error-no-cmake-c-compiler-could-be-found-using-xcode-and-glfw
export SDKROOT=$(xcrun --sdk macosx --show-sdk-path)
xcode-select -p
and selecting the path that I get from there
sudo xcode-select -s /Library/Developer/CommandLineTools
from [2]https://stackoverflow.com/questions/65276102/compilation-errors-with-m1-macbook-pro-and-cmake