You can get a version from the OpenGL and GL Shading program by:

If don’t initialize the OpenGL you can get it:

Let’s try one simple example.

The output will be print on the shell.

I will try to show you briefly how to create Linux OpenGL applications. We check if the graphics card and settings are done correctly, using the command:

As freeglut devel package provides libraries for OpenGL. Let’s install that package.

Then we see if we have the necessary files.… Continue Reading How to create an executable in Linux using OpenGL.

This is a first part tutorial about Linux game using C++ and OpenGL libs. Writing a C++ game can be difficult. You will need to focus on program structure and then to know how to create the necessary classes. Let’s see the files I used:

The main.cpp file is… Continue Reading Writing a basic game with C++ and OpenGL libs – part 001.