To build the gclib examples, navigate to the examples folder at /usr/share/doc/gclib/src/examples.
Extract the examples with command:
Run make.