glut i n xcode tutorial

Post on 14-Feb-2016

65 Views

Category:

Documents

1 Downloads

Preview:

Click to see full reader

DESCRIPTION

GLUT i n Xcode Tutorial. Write on 2013/10/02 國立政治大學 99703036 資科四 陳育聖. Press Xcode and create new project. Application -> Command Line. Type : C++. Create where you want. Test Project -> Build Phases -> +. Search gl -> GLUT and OpenGL. Click main.cpp and right button. - PowerPoint PPT Presentation

TRANSCRIPT

GLUT in Xcode Tutorial

Write on 2013/10/02國立政治大學 99703036 資科四 陳育聖

Press Xcode and create new project

Application -> Command Line

Type : C++

Create where you want

Test Project -> Build Phases -> +

Search gl -> GLUT and OpenGL

Click main.cpp and right button

Move to Trash

Move *.cpp and *.h to your project

Copy items

Xcode -> Preferences

Derived Data -> Relative -> Advanced

Choose Legacy

We want set image to exe folderBut didn’t build exe so…

Run

Result

It’s exist so…

Right button -> Show in Finder

Drag Image folder to exe folder

Run

Success !!!

The path where you put imagein the future

END

top related