Solution of vs unable to open source file and link library file

I can’t open the GL/ Glut.h file when I write OpenGL code.

Click Item ->; Property – & gt; C/C + + routine – & gt; Additional include directory

Then click the Add Includes directory:

Change to your file directory containing.h:
Take mine for example:

Replace it and it will work

Read More: