Download - GLUT i n Xcode Tutorial
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