How do I compile my code into a standalone Mac application?

Dec 15, 2012 at 8:12pm
Hi. I have a project I'm working on (in OpenGL), and I want to send it to my friend. He doesn't have Command Line Tools installed though, so I cant just send him the unix executable file. I must compile it into a standalone Mac application.

Also, when I finally release this, I want it to be a standalone Mac application. How can I do this on a Mac?

EDIT: If I type g++ main.cpp -o main.app -framework OpenGL -framework GLUT it says "You can't open the application 'main' because the classic environment is no longer supported."
Last edited on Dec 15, 2012 at 8:18pm
Dec 19, 2012 at 5:52pm
use a mac
Topic archived. No new replies allowed.