Keep in mind, that you will need to repeat this step any time you create a new OpenGL project in Xcode. This time, select the GLUT framework, and click Add. Select the OpenGL Framework and click Add.Ĭlick the plus button again. Scroll down to the OpenGL library, or type "opengl" into the search box. Once you are able to create a basic C++ project in Xcode, you'll want to configure it for OpenGL.Ĭlick on the blue project icon on the left side of the window.Ĭlick the triangle next to "Link Binary with Libraries".Ĭlick the plus button, a list of libraries will appear. You'll then be asked to choose a location to store your project files. In the Project Options window, enter the name of the project, and make sure the C++ language is selected. Select the Command Line Tool project type and click Next. In the New Project window, navigate to the Mac OS X / Application section. Follow these steps to create an empty C++ project:įrom the File menu, hover over New, then select Project. Xcode has a lot of options and project types. Configuring Xcode for OpenGL Developmentįirst, make sure have Xcode installed on your computer. Xcode is available for free for computers running Mac OS X. Xcode is an integrated development enviroment (IDE), which allows you to write, test, and debug your code.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |