Today, someone else’s source program appeared such a problem, the first thought is the lack of files, really after viewing the lack of some toolkits, in this solution is offered, for your reference:
1. Download the GLUT Toolkit. https://download.csdn.net/download/xianhua7877/10473663
2, will download the package, Will get five documents, including GlU32. Lib glut32. DLL glut32. Lib glut. DLL glut. H glut. Lib
3, let the glut of decompression. H into the C:/Program Files/Microsoft Visual Studio 9.0/VC/include the folder.
4. Put the Glut. lib and Glut32.lib Files in the C:/Program Files/Microsoft Visual Studio 9.0/VC/lib folder where the static function libraries are located.
5. Put the extracted Glut. DLL and Glut32.dll in the system32 folder under the operating system directory.
6. This step is very important, this step is very important, this step is very important, run again, if the error is still, then change the header file’s original name #include <; GL/glut.h> For the # include & lt; glut.h> .
1. Download the GLUT Toolkit. https://download.csdn.net/download/xianhua7877/10473663
2, will download the package, Will get five documents, including GlU32. Lib glut32. DLL glut32. Lib glut. DLL glut. H glut. Lib
3, let the glut of decompression. H into the C:/Program Files/Microsoft Visual Studio 9.0/VC/include the folder.
4. Put the Glut. lib and Glut32.lib Files in the C:/Program Files/Microsoft Visual Studio 9.0/VC/lib folder where the static function libraries are located.
5. Put the extracted Glut. DLL and Glut32.dll in the system32 folder under the operating system directory.
6. This step is very important, this step is very important, this step is very important, run again, if the error is still, then change the header file’s original name #include <; GL/glut.h> For the # include & lt; glut.h> .
Read More:
- 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
- Vs2019 OpenGL glut: error: unable to open include file: ‘GL / glut. H’: no such file or directory
- #During OpenGL development, fatal error C1083: can’t open include file: “GL / glut. H”: no such file or directory
- How to solve the problem of “unable to open include file:” graphics. H “: no such file or directory”
- Vs fatal error C1083: unable to open include file: “sys / socket. H”: no such file
- QT creator error: C1083: unable to open include file: “qmediaplayer”
- 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.
- VS2010 compiler can’t open include file: “GL / glaux. H”: no such file or directory
- Cannot open include file: ‘io.h‘: No such file or directory
- Vs compiling OpenGL project, the solution of unable to open the source file “GL / glaux. H” appears
- Solution of VS2008 unable to open GL / glaux. H header file
- Win10 vs 2017 prompt cannot open include file: “windows. H”: no such file or director
- The first time I write OpenGL program, what should I do when I encounter “can’t open include file:” GL / glaux. H “: no such file or directory”?
- Solution of vs unable to open source file and link library file
- Vs QT project ‘fatal error C1083:’ failed to open include file
- Solve the problem of VC6.0 open crash and OpenGL glut32.lib library
- Unable to open source file in vs
- IntelliSense: unable to open source file ‘StdAfx. H’
- Solution to the problem of vs2017 error report unable to open source file
- Vs error prompt: “unable to open source file XXXX. H” possible reasons and Solutions