A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
*.h files are not libraries, they are header files that define definitions to access the library. You must still add the libraries to project build. For c++ you add the library path as a library search path, add a reference to the library name and add include search path. As you are using vs studio in the project properties:
- C/C++ > General > Additional Include Directories and add your path to the gl include files
- Linker > General > Additional Library Directories and add your path to gl library files
- Linker > Input > Additional Dependencies and append the library file names.
I assume your missing step three or you would get not found errors for the libraries. I don’t know which GL package of libraries you picked., so can not give the library names. Give us which gl library you picked and we can give more help.
Note: glut.h is obsolete, you should be using a more modern gl library.