So, I am looking for a way to take fullscreen screenshots on OS X using C++. I found this sample code, which, I think, fits the purpose:
It is an Xcode project. I managed to compile the .m and .h files using Clang by linking these:
-framework cocoa -framework ApplicationServices -framework Foundation -framework IOKit
Well, here is the problem. The executable spits out:
No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting
What is this Info.plist file? Can I avoid it?