GCC in Mac OS X

I am unable to compile any C++ programs with OpenGL libs.
The headers are found, but the compiler reports that the functions have not been declared.

Is there any way to compile OpenGL programs without using Project Builder?

Is it a linker error or compiler error? Can you show specific error(s)?

ld: Undefined symbols:
ReSizeGLScene(int, int)

rhys (the mac guy here) says:
“you need to -framework opengl, or add framework in the project menu under system/library/opengl”

oh, and apparently that’ll be $AUD50 for the info.


Did you check the mac site!? You can use codewarrior as well as command line