-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
Hello, I just have tried to install the virtual_touchscreen on a raspberry (raspbian), but I'm stumbling still on the first step "make". (I already have done apt-get update, and I tried sudo apt-get install raspberrypi-kernel-headers)
pi@raspberrypi:~/virtual_ctp/virtual_touchscreen-master $ make
make -C /lib/modules/`uname -r`/build M=$PWD modules
make[1]: *** /lib/modules/4.9.59-v7+/build: No such file or directory. Stop.
Makefile:10: recipe for target 'default' failed
make: *** [default] Error 2
OR
pi@raspberrypi:~/virtual_ctp/virtual_touchscreen-master $ make modules M=/path/to/virtual_touchscreen/
make: *** No rule to make target 'modules'. Stop.
pi@raspberrypi:~/virtual_ctp/virtual_touchscreen-master $
EDIT:
I suppose "make" is for building kernel, so I simply tried to compile the file, but now I think I have to add the "mt.h" File? Is that correct? I don't want build the kernel or such thing (to complicated for me)
pi@raspberrypi:~/virtual_ctp/virtual_touchscreen-master $ gcc -Wall -pthread -o virtual_touchscreen virtual_touchscreen.c
virtual_touchscreen.c:2:28: fatal error: linux/input/mt.h: No such file or directory
#include <linux/input/mt.h>
^
compilation terminated.
pi@raspberrypi:~/virtual_ctp/virtual_touchscreen-master $
Metadata
Metadata
Assignees
Labels
No labels