Headers and libraries usually ship with most compilers today. But if you really need them, you can try http://www.mesa3d.org/ . It’s a free OpenGL-like API. It contains the source, which you can compile into a libraryfile.