Procedure for Linux/Ubuntu system

System setup

> You system need to have access to C++ compilation tools, CMake, and the GLFW library.
> On Ubuntu (or derivative), you may follow these commmand line (or adapt them if you use another distribution)
# Make sure that your apt deposit is updated [optional]
sudo apt-get update

# Basic development tools (g++, make, etc)
sudo apt-get install build-essential

# Install CMake tool
sudo apt-get install cmake 

# Install GLFW library
sudo apt-get install libglfw3-dev

Compile and execute the code

Once your system is set up, make a test to compile a test program.
> Open a command line in the root directory of your program
> Then type the following commands
# Generate the directory build/
mkdir build 

# Go to the build/ directory
cd build

# Run CMake
cmake ..
# A file Makefile should be generated

# Compile
make
# Make sure the compilation succeed, a file pgm should be created

# Go back to the root directory
cd ..

# Run the executable from the root directory
#  (possibly adapt to the name of your executable)
build/sample_code 
Make sure that the last command ends with the run of the test code.
Notes

IDE

You are highly encouraged to use a complete IDE to edit the C++ code: it helps to use the library with auto-completion, to naviguate quickly through the files, as well as proposing debug tools.
In Linux/Ubuntu, you can install QtCreator with the following command
sudo apt-get install qtcreator
You may follow these instructions for the use of QtCreator to edit and compile the code.