using glut on XCode
Posted: Mon Jan 24, 2011 3:12 pm
Hi, Michael alerted me to the fact that you must include the Cocoa framework in order to run a glut demo on OSX.
From the command line make sure and specify "-framework Cocoa" in your gcc command.
In XCode you can specify a Cocoa application (instead of a terminal or console application) when creating a new project.
-Angus
From the command line make sure and specify "-framework Cocoa" in your gcc command.
In XCode you can specify a Cocoa application (instead of a terminal or console application) when creating a new project.
-Angus