This program only works with X-Windows.
You also need the libXext library.