Glut.h, Glut32.dll, LibGlut32.a, MSVCR70.dll
The following directory is mine, the specific operation pay attention to their own installation directory
1. Put Glut. h in F:\Program Files\ Codeblocks \ MingW \ Include \GL
2. Put libglut32.a in F:\Program Files\CodeBlocks\MinGW\lib
3. Place glut32. DLL in C:\Windows\System32 for 32-bit OS and C:\Windows\ Syswow64 for 64-bit OS
Then create a GLUT project
Then specify the GLUT location (this is just my location, notice your installation directory).
Online other people’s tutorials tutorials may be so far, but I have the following problems
You should start the code with a #include< windows.h> OK, but it looks like it’s going to be above the sentence GLUT
The last problem is an error that says “because msvcr70.dll……….. cannot be found” C:\Windows\System32 or C:\Windows\SysWOW64. These two directories should be the difference between 32-bit and 64-bit systems
Read More:
- Configuring OpenGL with win 10 + CodeBlocks
- CodeBlocks configuring OpenGL environment
- Installation and use of OpenGL based on CodeBlocks
- CodeBlocks OpenGL configuration process
- Configure OpenGL in CodeBlocks
- Configuring OpenGL in Code:: blocks
- Summary of problems encountered by CodeBlocks + OpenGL
- Configuring OpenGL environment with code blocks16.0 in Windows 10
- OpenGL configuration under CodeBlocks in Ubuntu
- Vc2010 configuring OpenGL environment
- The solution of configuring OpenGL in vs2017
- Configuring OpenGL in VS
- DEVC + + configuring OpenGL
- Configuration of OpenGL under CodeBlocks and solutions to problems encountered
- Ubuntu: CodeBlocks compile OpenGL super Dictionary (5th Edition) instance
- How to configure OpenGL on CodeBlocks
- Configure glut in Ubuntu and implement basic OpenGL experiment on CodeBlocks platform
- Problems in configuring OpenGL
- Cmake error when configuring OpenGL [How to Solve]
- Solving CodeBlocks OpenGL glew undefined reference to`_ imp__ Glewinit ‘error