I am porting an open source C++ program for linux to os x. I have been changing lines from this
#include <GL/gl.h>
to this
#include <OpenGL/gl.h>
based on the advice from this post: How do I use Open GL in a C++ project that I am porting from Linux
That change gets rid of the compiler errors, but I am confused: where is xcode/the C++ compiler that it uses going to look for that file? If I search my xcode project, I don't see a directory called OpenGL or a file = gl.h?
I'm used to including images or javascript libraries in web pages based on the working directory of the .html file. Something else is happening in xcode here.