using glut on XCode

Post Reply
angus
Posts: 43
Joined: Fri Apr 02, 2010 1:54 pm

using glut on XCode

Post by angus » 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

Post Reply