Uploaded December 2014 | Updated November 2026, 9 hours ago
How to Install the free compiler Dev C++ and the free graphics library OpenGL on Windows 10.
Download Dev C++: mediafire.com/download/jvca73gqgg0l783/Setup_DEVC%2B%2B+5.4.1.rar
Right click this link to download zip of glutming: http://chortle.ccsu.edu/Bloodshed/glutming.zip
Raycaster Part 1 tutorial: youtu.be/gYRrGTC7GtA
-lglu32 -lglut32 -lopengl32
Replace less than sign with actual less than sign. YouTube prevents me from adding it here.
---C Code---
#include "LESS THAN SIGN" stdio.h "GREATER THAN SIGN"
int main()
{
printf("Hello World!!!\n\n");
system("pause");
}
---OpenGL Code---
#include "LESS THAN SIGN" GL/glut.h "GREATER THAN SIGN"
void display()
{
glClear(GL_COLOR_BUFFER_BIT);
glColor3f(1,0,0);
glBegin(GL_POLYGON);
glVertex2f(100,300);
glVertex2f(100,100);
glVertex2f(200,100);
glVertex2f(200,300);
glEnd();
glFlush();
glutSwapBuffers();
}
int main(int argc, char** argv)
{
glutInit(&argc, argv);
glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGBA);
glutInitWindowSize(640,640);
glutCreateWindow("OpenGL");
glutDisplayFunc(display);
gluOrtho2D(0,640,0,640);
glClearColor(0.5,0.7,0.5,0);
glutMainLoop();
return 0;
}
How to Install the free compiler Dev C++ and the free graphics library OpenGL on Windows 10.
Download Dev C++: mediafire.com/download/jvca73gqgg0l783/Setup_DEVC%2B%2B+5.4.1.rar
Right click this link to download zip of glutming: http://chortle.ccsu.edu/Bloodshed/glutming.zip
Raycaster Part 1 tutorial: youtu.be/gYRrGTC7GtA
-lglu32 -lglut32 -lopengl32
Replace less than sign with actual less than sign. YouTube prevents me from adding it here.
---C Code---
#include "LESS THAN SIGN" stdio.h "GREATER THAN SIGN"
int main()
{
printf("Hello World!!!\n\n");
system("pause");
}
---OpenGL Code---
#include "LESS THAN SIGN" GL/glut.h "GREATER THAN SIGN"
void display()
{
glClear(GL_COLOR_BUFFER_BIT);
glColor3f(1,0,0);
glBegin(GL_POLYGON);
glVertex2f(100,300);
glVertex2f(100,100);
glVertex2f(200,100);
glVertex2f(200,300);
glEnd();
glFlush();
glutSwapBuffers();
}
int main(int argc, char** argv)
{
glutInit(&argc, argv);
glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGBA);
glutInitWindowSize(640,640);
glutCreateWindow("OpenGL");
glutDisplayFunc(display);
gluOrtho2D(0,640,0,640);
glClearColor(0.5,0.7,0.5,0);
glutMainLoop();
return 0;
}










