Cocoa-GL-Tutorial
Cocoa-GL-Tutorial copied to clipboard
Clean clone and build in OSX 10.7 fails to compile
I made no changes to the project. I just opened it in Xcode 4.3.3 and tried to build it and got this:
error: unknown argument: '-fobj-nonfragile-abi'
Help?
Removing that flag from the build options got it to work. Any reason it's in there by default, though?
I did a build for 10.8 and also had to remove the flag.
- Changed to compile for Mountain Lion (10.8)
- Under Apple LLVM compiler 4.1 Language Under C Flags - took out debug flags to eliminate Clang error
- Under LLVM compiler 4.1 Warning Polices Put Treat Warnings as Errors to No because Gl.h and gl3.h are both included.