Libraries

Before trying to build the examples from ZetCode you have to check if the next libraries are installed (doesn't have to be the development libraries).

sudo apt-get install libgdk3.0-cil-dev libgdk-pixbuf2.0-dev libpango1.0-dev libg2-dev libgtk3.0-dev libgdk3.0-cil-dev libgdk-pixbuf2.0-dev libgtk2.0-dev

Build binaries don't execute from the GUI

On new Linux Mint installations the builded application will not run from within the GUI however from the terminal it does.  To fix this you have to add  -no-pie at the end of the link (ld) command.

example:  ld -s -m elf_x86_64 applicationicon.o -o applicationicon -lc --dynamic-linker /lib64/ld-linux-x86-64.so.2 -lgtk-3 -lgobject-2.0 -lglib-2.0 -lgdk_pixbuf-2.0 -lgdk-3 -no-pie