anders94 / framebuffer-digits

Command line utility to display graphical digits on the frame buffer.
7 stars 3 forks source link

Installation help #2

Open ghost opened 5 years ago

ghost commented 5 years ago

Hello,

tried to install these on my Pi, but nothing happens.

Did the following steps:

pi@raspberrypi:~ $ git clone https://github.com/anders94/framebuffer-digits.git

pi@raspberrypi:~/framebuffer-digits $ make gcc -o fbdigits fbdigits.c fbdigits.c: In function ‘main’: fbdigits.c:52:9: warning: implicit declaration of function ‘ioctl’ [-Wimplicit-function-declaration] if (ioctl(fbfd, FBIOGET_VSCREENINFO, &vinfo) || ioctl(fbfd, FBIOGET_FSCREENINFO, &finfo)) { ^~~~~

pi@raspberrypi:~/framebuffer-digits $ ./showdigits $123.45 -bash: ./showdigits: No such file or directory

pi@raspberrypi:~/framebuffer-digits $ ./fbdigits 1337

Can you help?

robertreid commented 5 years ago

I have the exact same problem here. Hopefully the developer can help.