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

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 -framework OpenGL -framework GLUT it says "You can't open the application 'main' because the classic environment is no longer supported."
Last edited on
use a mac
Topic archived. No new replies allowed.