Installation and use of OpenGL based on CodeBlocks

1. The main process, in my collection. You can find the original blog directly.
2. Attention:
A libbgi.a file is also downloaded. It is installed under C: Program Files (x86)\CodeBlocks\MinGW\lib. Download Address:
http://www.3673.com/file/280472.html
Second:
Put the glut32.h file under the MinGw\include\GL directory
Put the glut32.dll file under the C:\Windows\ system32 directory (for a 64-bit operating system, put the file under the C:\Windows\SysWOW64 directory)
t the libglut32.a under the MinGw\lib\ directory
T> are the three full lines of the author. I just installed the second file in the wrong path and caused a lot of errors.
In addition: want to test your results immediately, here are some examples of application: https://blog.csdn.net/Halsey_/article/details/79684493


Read More: