-
Developing OpenGL under Xcode 3.0
Hello
I've just started learning ANSI C++ under Xcode and being kind of lazy guy I don't want to learn either Cocoa or Carbon.
So I've been wondering whether one could invoke in a C++ Command Line project :
1. only OpenGL libraries
2. both Framework and OpenGL libraries
Thanks for your help
-
Re: Developing OpenGL under Xcode 3.0
If you are just learning, I think GLUT should suffice. Just drag the OpenGL & GLUT frameworks into your projects.
That's about as bare bones as you can get.
Just make sure you put:
#include <GLUT/glut.h>
in your source files.
This should get you started.
-
Advanced Member
Frequent Contributor
Re: Developing OpenGL under Xcode 3.0
-
Re: Developing OpenGL under Xcode 3.0
Just great
If you want framed OpenGL app, follow tutorial @
-> http://blog.onesadcookie.com/2007/12...-tutorial.html
-> copy/paste some OpenGL sample code in your project then click "Build and Go"
If you don't mind terminal window showing while OpenGL app running
-> create New Project / Command Line Utility / C++ Tool
-> name your project
-> right click on your project's name, Add Existing Frameworks...
-> GLUT.framework
-> then OpenGL.framework
-> copy/paste some OpenGL sample code in your project then click "Build and Go"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules