How to Setup OpenGL (GLUT) in CodeBlocks
How to Setup OpenGL (GLUT) in CodeBlocks
version)
DwonloadCodeBlocksver 10.50
Step – 2
Step – 3
Step – 4
Open Code::Blocks. You’ll see the window as shown below.
Click on Create a newprojectlink.
Step – 5
Click on GLUT project, then click Go.
Enter the title name of the project, and give path to save the project.
The project file is created by default from the title name of the project.
Click Next.
Step – 6
For GLUT location, give the path “C:\Program Files\CodeBlocks\MinGW“
Click Next.
Click Finish.
Step – 7
#include <windows.h>
(ΠΡΟΣΟΧΗ πρέπει να μπει πριν από τα άλλα Include)