I can’t open the GL/ Glut.h file when I write OpenGL code.
Solution:
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
Solution:
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:
- Vs compiling OpenGL project, the solution of unable to open the source file “GL / glaux. H” appears
- Solution of unable to open source file “StdAfx. H” in vs2013 / 2012
- Solution to the problem of vs2017 error report unable to open source file
- Error in header file when calling OpenGL to open obj file in vs2013: unable to open include file: “GL / glut. H”: no such file or directories
- Unable to open source file in vs
- Vs error prompt: “unable to open source file XXXX. H” possible reasons and Solutions
- Solution of VS2008 unable to open GL / glaux. H header file
- How to solve the problem of “unable to open source file XXXXX. H” in VS development?
- Vs2017 cannot open the source file “XXX. H” by adding a file name after creating a new class
- Vs fatal error C1083: unable to open include file: “sys / socket. H”: no such file
- IntelliSense: unable to open source file ‘StdAfx. H’
- Vs2019 OpenGL glut: error: unable to open include file: ‘GL / glut. H’: no such file or directory
- Vs + QT reports an error “vs cannot open the source file qchartview”
- IntelliSense in VC + + 2010: unable to open source file “StdAfx. H”
- C / C + + cannot open the source file directory, the header file is not imported, the solution is as follows
- Vs cannot open source file “XXX. H” problem
- Vs cannot open the source file unistd. H under Windows
- R language-Error in file(out, “wt”): Unable to open the link problem solved
- Win10 vs 2017 prompt cannot open include file: “windows. H”: no such file or director
- A fatal error C1083 occurred when compiling C + + code under. Net: unable to open the include file: “xuhk”_ Jnihelloworld. H “: solution to no such file or directory error.