2.2. Installing on Apple Mac macOS

The Apple macOS platform using the most recent version of XCode and the Clang C++ compiler already contains all the files necessary except for sgl.h and sgl.hpp. Programmers can place these sgl.h and sgl.hpp files in a convenient folder anywhere and configure their XCode project to reference this folder as an additional include directory.

As an alternative, macOS developers may place the sgl.h or sgl.hpp in their current build directory and use the following preprocessor #include directive:

 #include "sgl.hpp"

or

 #include "sgl.h"

as appropriate (see the first part of Section SGL Application Architecture that explains how to use the header files).


Copyright  ©2019 Richard L. HaltermanVersion 0.9.5February 17, 2019
Creative Commons License This work is licensed under a Creative Commons License.