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

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.

http://blog.onesadcookie.com/2007/12/xcodeglut-tutorial.html

Just great

If you want framed OpenGL app, follow tutorial @
-> http://blog.onesadcookie.com/2007/12/xcodeglut-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”

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.