So I have a little bit of programming and engineering experience. I am trying to figure out what's going on here. I would like to use an open source compiler to compile opengl code. I would just like the knowledge of libraries and pre-processor header files and how they work. I am looking at opengl code and I see that I can use some header file and not others. I am working with the supper bible series 1-6. I am looking at the header files and I can see that I can compile with gcc with some header files and not others. I am starting from the first book of the supper bible series and seeing what I can compile. I know I can compile most code up to 3.1, then I can't work with any of the libraries. I know that a lot of the code has depreciated and is not forward compatible, this is what is making it very difficult for me because I have to see where I can start from. If anyone can please explain to me what is going on here I would really appreciate it.