In the zip that you downloaded, you will have a glad.c file, add that file to your project Then, put a name to your project and select C++ as language, next and save the project Once you are downloaded and unzipped the folder, put the glad and KHR folders in the /usr/local/include directory of your mac.Īfter installed GLFW and downloading the glad files, is time to create the XCode project.Ĭreate a new Project and macOS and Command Line Tool, then click on Next Download the glad.zip and unzip in your Download folder. Then, you need to download GLAD to get the OpenGL headers: Use gl version 4.1 if you want to be compatible with macOS and in Profile select Core.