This tutorial assumes that Gel2D has been properly installed, so that the GCC Compiler knows where the Gel2D library and headers are.
Most (if not all) Linux distributions come with GCC pre-installed.
You can see what version of GCC you have by launching a terminal and typing gcc --version.
To build an application with GCC, you will need to write a simple makefile. Launch your favorite text editor.
Assuming you have a source file called main.cpp, and that it is in the <root> folder,
you might write a makefile similar to this:
Save the makefile in the same directory as your source code. In this case, it is the <root> folder.
Open a terminal. cd to the <root> folder containing the makefile,
and type make to build your application.
The makefile used here will create the application in the same directory as the makefile.
To launch the application, you could type myGel2DApp - or whatever name you have given your newly-created executable.