12-14-2001, 04:30 AM
Hi, I am trying my hand at OpenGL on OS X
10.1 and cannot get a compile to work. I've
had limited experience on Linux with OpenGL but have decided to focus my efforts on OS X.
Here is my compile line:
cc -framework OpenGL -framework GLUT -lobjc test.c
and here is the result which I cannot figure
out how to eliminate:
/usr/bin/ld: Undefined symbols:
_glutInitMac
I have looked at the SDK download from
Apple and in the framework folders but
am unable to figure anything out from
that.
Any help would be appreciated very much!
Mak
10.1 and cannot get a compile to work. I've
had limited experience on Linux with OpenGL but have decided to focus my efforts on OS X.
Here is my compile line:
cc -framework OpenGL -framework GLUT -lobjc test.c
and here is the result which I cannot figure
out how to eliminate:
/usr/bin/ld: Undefined symbols:
_glutInitMac
I have looked at the SDK download from
Apple and in the framework folders but
am unable to figure anything out from
that.
Any help would be appreciated very much!
Mak