https://www.youtube.com/watch?v=xWry5NQfDuw
g++ -fpermissive -IOpenGL\include -w -c iMain.cpp -o main.o
g++ -LOpenGL\lib main.o -o main.exe -lGlaux -lGLU32 -lglui32 -lglut32 -lOPENGL32 -lgdi32
Make sure glut32.dll
is present in the same folder
Run main.exe