If you create a new project and want to use the codes here, you need to perform several processes:
- First you need to instal the OpenGL library. If you are using devC++ do it by watching this video:
- [https://www.youtube.com/watch?v=8Qkpaewj-7Y&t=308s]
- Then in Project/Project Options/Parameters/Linker type the following:
- -lopengl32
- -lfreeglut
- -lglu32
This is how the project will look when working:
