- CodeBlocks 17.12
- GLUT 3.7.6
- Install CodeBlocks version 17.12 and remember the installation path.
- Download glut version 3.7.6 from the web then follow the next steps.
- Open glut folder and copy or move the files by following under paths information.
-
Copy glut32.dll to C:\Windows\SysWOW64
-
Copy glut32.lib to C:\Program Files (x86)\CodeBlocks\MinGW\lib
-
Copy glut.h to C:\Program Files (x86)\CodeBlocks\MinGW\include\GL
-
- Create a “GLUT project” from CodeBlocks, write codes then build and run.