Often, when compiling software from source on macOS, you’ll encounter errors about missing header files.
In this case, simply run the following command to install the SDK headers:
cd /Library/Developer/CommandLineTools/Packages/open macOS_SDK_headers_for_macOS_10.14.pkg[scode type=“yellow”] Replace 10.14 with your current macOS version number. [/scode]