When I started the program on OpenGL, I got an error about the incompatibility of a 16-bit program with a 32-bit system.
The version of this file is incompatible with the version of Windows being used. Use the system information to determine the appropriate version of the program (32-bit or 64-bit) and contact the software publisher.
Here is the code itself:
#include <iostream> #include <gl/glut.h> int main(int argc, char** argv) { glutInit(&argc, argv); glutInitDisplayMode(GLUT_SINGLE|GLUT_RGB); glutInitWindowSize(500, 500); glutInitWindowPosition(200, 200); glutCreateWindow("kek"); glClearColor(0.0, 0.0, 0.0, 0.0); return 0; } And I have a question, is there a way to somehow rewrite this program under a 32-bit system?