Compiling Xlib-Based programs requires linking them with the Xlib library. This is done using a compilation command like this: source: choo