git clone https://github.com/OPSphystech420/OpenGL-3D-Train.git
GCC c++17 or later
brew install glfw3
brew install glew
brew install openal-soft
brew install libsndfile
sed -i '' 's/\r$//' run.sh
chmod +x run.sh
./run.sh
It will suggest « failed to open display '' » which means that the freeglut lib can't find an X server to connect to, while MacOS uses a different windowing system.