There is no CGL framework in OS X (CGL is included in the OpenGL framework, you need only #include OpenGL/OpenGL.h ), and you do not use -lXXX to link against a framework either. Now, depending on how your Makefile is structured, you may also have a property known as LD_FLAGS for a separate linking stage - you also need to include -framework OpenGL there. This directive does both, include path resolution and linker path resolution for frameworks. – Andon M. Coleman Oct 20 '13 at 19:36 |