The computer reinstalled the secondary system, so I reconfigured the OpenGL environment. After the configuration is completed, I wrote an OpenGL program and found the following error message:
Solutions:
1. Add #define GLUT_DISABLE_ATEXIT_HACK before #include
2. Compile with Visual Studio 2012(V110) environment
Solutions:
1. Add #define GLUT_DISABLE_ATEXIT_HACK before #include
2. Compile with Visual Studio 2012(V110) environment
Read More:
- A series of problems in configuring OpenGL development environment in vs2015
- Configuring OpenGL development environment in win10 + vs2015 (including the method of installing 32-bit and 64 bit libraries)
- OpenGL environment configuration under VS2010 / vs2012 / vs2015
- OpenGL program running prompt glut32.dll missing problem
- error C2057: expected constant expression (Can the size of an array in C language be defined when the program is running?)
- 0028opengl program running prompt glut32.dll missing one of the solutions
- OpenGL learning — problems encountered in compiling OpenGL program for the first time
- The solution of windows not flashing back when visual studio console program is running
- Visual studio 2017, OpenGL program running prompt glut32.dll missing solution
- Problems encountered in vs2015 configuration using OpenGL environment
- OpenGL class library and environment configuration under win10 and vs2015
- Configuration of OpenGL development environment under Windows environment, win10 + vs2019 + glfw + glad
- On the configuration of OpenGL Red Book eighth edition environment in vs2013
- Bug001: error in gradle configuration environment variable: ERROR:JAVA_ Home is set to an invalid directory!
- A strange problem in compiling OpenGL program
- Vs2015 + OpenGL environment configuration
- Simple configuration of glfw + glad in vs2015 OpenGL development environment
- Configure OpenGL development environment (vs2015)
- Configuring OpenGL in VS
- The solution of configuring OpenGL in vs2017