thenickdude / wacom-qemu

Emulated Wacom tablet devices for QEMU
Other
5 stars 0 forks source link

compiling error qemu 4.2.1 #1

Open vivi-gomez opened 3 years ago

vivi-gomez commented 3 years ago

Hi, I just wanted to try compiling qemu 4.2.1 in ubuntu 20.04, to see if my wacom graphire (et-0405a-u) can work through evdev passthrough. However I get this error: (...) CC aarch64-softmmu/trace/control-target.o LINK aarch64-softmmu/qemu-system-aarch64 /usr/bin/ld: ../hw/usb/dev-wacom-bamboo.o: in function usb_wacom_class_init': /mnt/almacenKVM/instalacion_qemu+wacom/qemu-4.2.1/hw/usb/dev-wacom-bamboo.c:716: undefined reference todevice_class_set_props' /usr/bin/ld: ../hw/usb/dev-wacom-intuos-5.o: in function usb_wacom_class_init': /mnt/almacenKVM/instalacion_qemu+wacom/qemu-4.2.1/hw/usb/dev-wacom-intuos-5.c:803: undefined reference todevice_class_set_props' collect2: error: ld returned 1 exit status make[1]: [Makefile:208: qemu-system-aarch64] Error 1 make: [Makefile:491: aarch64-softmmu/all] Error 2

thenickdude commented 3 years ago

I think this patch only applies on QEMU 5, I didn't try it on 4.

This code doesn't support accepting pen pressure information from the host, so it won't do any better than the standard usb-tablet device support for you.