Hello, I am using xcode 4.41 and I have added the opengl, glut frameworks to a cocoa application. I used some sample code (irrelevant) that should work fine but when I run it, it gives me this error:
duplicate symbol _main in:
ld: 1 duplicate symbol for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
This is because there might be a duplicate symbol in my project but I cannot find the duplicate symbols. Is there any way to find out what is causing this error?