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
- Vs compiling OpenGL project, the solution of unable to open the source file “GL / glaux. H” appears
- Vs2019 OpenGL glut: error: unable to open include file: ‘GL / glut. H’: no such file or directory
- The solution of configuring OpenGL in vs2017
- Solution of VS2008 unable to open GL / glaux. H header file
- [graphics] exceptions in downloading and installing OpenGL in vs2017
- Configuring OpenGL development environment in win10 + vs2015 (including the method of installing 32-bit and 64 bit libraries)
- Solution to the problem of unable to open glaux. H in vs2013
- Configuring OpenGL in VS
- Configuring OpenGL in Chinese version of VS2010 and problem solving
- Configuring OpenGL with win 10 + CodeBlocks
- Vc2010 configuring OpenGL environment
- How to Fix Error sal.h(2367)
- |-OpenGL – | some small problems about the glut Library
- Vs2015 + OpenGL environment configuration
- OpenGL class library and environment configuration under win10 and vs2015
- OpenGL environment configuration under VS2010 / vs2012 / vs2015
- A series of problems in configuring OpenGL development environment in vs2015
- The first day of OpenGL [vs2017 + OpenGL environment configuration]
- VS2010 compiler can’t open include file: “GL / glaux. H”: no such file or directory