I try to make a screensaver for Linux based on "simplesquares" from: http://www.dis.uniroma1.it/~liberato/screensaver/simplesquares.html
I overcome the compile errors (gcc - errors compiling example xscreensaver), but after running the compiled file, nothing is shown at all. No matter if run inside Eclipse or the command line. Currently, my code is exaclty the one from the first link. My environement: Ubuntu 15.04 x86, Mate 1.8.2, gcc 4.9.2, libx11-dev 2:1.6.2.
What changes do i have to make to the code of simplesquares.c
(and maybe vroot.h
) in order make it show something?
The user here Hints and tips for writing a screensaver using xscreensaver? has the same problem with the missing output, but there is no answer and the question was closed because of other reasons.