You also need to link to OpenGL (and GLU). Apple rolls both GL and GLU
into one framework, but GLUT is its own framework.
Try:
gcc testprog.c -framework GLUT -framework OpenGL
On 4/28/05, Greg Coats <email@hidden> wrote:
> Thanks for the helpful response. I am now doing, as suggested,
> gcc testprog.c -framework GLUT
> On the positive side, 21 of the called gl, glu, and glut functions are
> now resolved.
> On the negative side, calls to _glClear and _gluOrtho2D are not be
> resolved.
> Please advise.
> Greg
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden
This email sent to email@hidden