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
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?