How can I run a GtkFB's program?



I am a biginner of GTK, GtkFB.

I hava installed GtkFb on Linux 7.2 (I have installed the FrameBuffer). 
Then I compiled and ran an program, "helloworld",  which is in the
"examples" directory,
 from console without X.
But an error message, "cannot open display", is returned.
I tried "./helloworld --display=/dev/fb0". 
Of course, I can find /dev/fb0.
But, the result is the same.

Generally, when I run a GtkFb program, what should I do?
Or, if there are any information about running GtkFB programs, 
let me know where.
 
Toyotoshi Hirotani.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]