hi, I add libusb through "external library" and add the file libusb.h to the project folder and when I run one of the examples (listdevs.c) of this library I get the following problem. I understand it's a compatibility problem. Does anyone know how to fix this problem?
ld: warning: ignoring file /Users/eduardo/My Cloud/Programas/dataMonitor 10 copy/libusb-1.0-2.22/MinGW64/static//libusb-1.0.a, file was built for archive which is not the architecture being linked (x86_64): /Users/eduardo/My Cloud/Programas/dataMonitor 10 copy/libusb-1.0-2.22/MinGW64/static//libusb-1.0.a
Undefined symbols for architecture x86_64:
"_libusb_get_bus_number", referenced from:
configureGraph:rint_devs(libusb_device**) in configuregraph.o
"_libusb_get_device_address", referenced from:
configureGraph:rint_devs(libusb_device**) in configuregraph.o
"_libusb_get_device_descriptor", referenced from:
configureGraph:rint_devs(libusb_device**) in configuregraph.o
"_libusb_get_port_numbers", referenced from:
configureGraph:rint_devs(libusb_device**) in configuregraph.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [dataMonitor.app/Contents/MacOS/dataMonitor] Error 1
22:35:33: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project dataMonitor (kit: Desktop Qt 5.11.1 clang 64bit)
When executing step "Make"
Does anyone know if there is a generic driver in macOS like the Microsoft winUSB for Qt?
thanks for help me
Bookmarks