Trying to do a fresh install on Arch and got the following error using both the 4.12.3 release (which is pulled by a PKGBUILD in the aur) and current git repo source.
Code: Select all
libftdi-interface.cpp: In static member function ‘static QList<DMXInterface*> LibFTDIInterface::interfaces(QList<DMXInterface*>)’:
libftdi-interface.cpp:138:37: error: ‘struct ftdi_context’ has no member named ‘usb_ctx’
138 | if (libusb_get_device_list(ftdi.usb_ctx, &devs) < 0)
| ^~~~~~~
libftdi-interface.cpp:182:37: error: cannot convert ‘libusb_device*’ to ‘usb_device*’
182 | ftdi_usb_get_strings(&ftdi, dev, vend, 256, nme, 256, ser, 256);
| ^~~
| |
| libusb_device*
In file included from libftdi-interface.h:24,
from libftdi-interface.cpp:31:
/usr/include/ftdi.h:376:76: note: initializing argument 2 of ‘int ftdi_usb_get_strings(ftdi_context*, usb_device*, char*, int, char*, int, char*, int)’
376 | int ftdi_usb_get_strings(struct ftdi_context *ftdi, struct usb_device *dev,
| ~~~~~~~~~~~~~~~~~~~^~~
In file included from libftdi-interface.cpp:28:
/usr/include/libusb-1.0/libusb.h:896:8: note: class type ‘libusb_device’ is incomplete
896 | struct libusb_device;
Thanks