Prerequisites

Before we proceed, let’s install some packages we may need in order to build and debug our applications.

Linux

Linux users need few additional packages like:

1. OpenGL - open graphics library for hardware-accelerated rendering

2. GNU Make - a tool which controls the generation of executables and other non-source files of a program

3. GCC - GNU Compiler Collection

4. gdb - GNUdebugger

You can install these packages using following command:

sudo apt-get install gcc g++ gdb make libgl1-mesa-dev

Note

The command above will only work in Debian-like distributions, such as Ubuntu, Linux Mint, KDE Neon, etc.

Windows

No additional software must be installed. Everything should work out of box.

MacOS

No idea, honestly.