(1) Copy gult32.dll, Glut. DLL to Windows system system32(if Windows 7 is a 64-bit operating system, it is in C:\ Windows SysWOW64 file)
(2) Copy gult32.lib, Glut. lib to CodeBlocks\ MinGW\lib
(3) Copy ULT. H to VC under CodeBlocks\ MinGW\include\GL
You can set up a GLUT project, you can set up an OpenGL project, and you need to configure the build option. It’s best to include the Windows.h header file at the top of your code.
The required GLUT file downloads GLUT
Build option configuration
(2) Copy gult32.lib, Glut. lib to CodeBlocks\ MinGW\lib
(3) Copy ULT. H to VC under CodeBlocks\ MinGW\include\GL
You can set up a GLUT project, you can set up an OpenGL project, and you need to configure the build option. It’s best to include the Windows.h header file at the top of your code.
The required GLUT file downloads GLUT
Build option configuration
Read More:
- CodeBlocks configuring OpenGL
- Configuring OpenGL with win 10 + CodeBlocks
- Configuring OpenGL environment with code blocks16.0 in Windows 10
- Vc2010 configuring OpenGL environment
- Configuring OpenGL environment on Mac OS
- 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)
- Vs2015 configuring OpenGL development environment: configuration of glfw library and glad Library
- Problems encountered in configuring OpenGL development environment in vs2015
- Configure OpenGL in CodeBlocks
- CodeBlocks OpenGL configuration process
- Installation and use of OpenGL based on CodeBlocks
- Summary of problems encountered by CodeBlocks + OpenGL
- Configuring OpenGL in Code:: blocks
- OpenGL configuration under CodeBlocks in Ubuntu
- The solution of configuring OpenGL in vs2017
- CodeBlocks environment error the compiler could not find a solution to the problem
- DEVC + + configuring OpenGL
- Configuring OpenGL in VS
- Configuration of OpenGL under CodeBlocks and solutions to problems encountered