input:
fatal error: </System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/Headers/SystemSound.h>: No such file or directory
You'll either need to use "" rather than <>, or add it to the include path for your compiler. Using GCC or Clang, this can be done using -I"/path/to/header/directory/" and then just using #include "SystemSound.h" or #include <SystemSound.h>.