Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qusbdevice.o:-1: error: Undefined symbols for architecture x86_64 #94

Open
SindenDev opened this issue Sep 27, 2023 · 0 comments
Open
Assignees
Labels

Comments

@SindenDev
Copy link

Describe the bug
qusbdevice.o:-1: error: Undefined symbols for architecture x86_64

PLatform:

  • OS: Mac mini Apple M2
  • Version macOS Ventura13.3.1(a)

To Reproduce
Steps to reproduce the behavior:
qusbdevice.o:-1: error: Undefined symbols for architecture x86_64:
"_hid_close", referenced from:
QHidDevice::close() in qhiddevice.o
"_hid_enumerate", referenced from:
QUsb::devices() in qusb.o
"_hid_free_enumeration", referenced from:
QUsb::devices() in qusb.o
"_hid_get_feature_report", referenced from:
QHidDevice::getFeatureReport(QByteArray*, int) in qhiddevice.o
"_hid_get_manufacturer_string", referenced from:
QHidDevice::manufacturer() in qhiddevice.o
"_hid_get_product_string", referenced from:
QHidDevice::product() in qhiddevice.o
"_hid_get_serial_number_string", referenced from:
QHidDevice::serialNumber() in qhiddevice.o
"_hid_init", referenced from:
QHidDevice::QHidDevice(QObject*) in qhiddevice.o
QHidDevicePrivate::QHidDevicePrivate() in qhiddevice.o
QHidDevice::QHidDevice(QObject*) in qhiddevice.o
QHidDevicePrivate::QHidDevicePrivate() in qhiddevice.o
"_hid_open", referenced from:
QHidDevice::open(unsigned short, unsigned short, QString const*) in qhiddevice.o
"_hid_read_timeout", referenced from:
QHidDevice::read(QByteArray*, int, int) in qhiddevice.o
"_hid_send_feature_report", referenced from:
QHidDevice::sendFeatureReport(QByteArray const*, int) in qhiddevice.o
"_hid_write", referenced from:
QHidDevice::write(QByteArray const*, int) in qhiddevice.o
"_libusb_alloc_transfer", referenced from:
QUsbEndpointPrivate::prepareTransfer(libusb_transfer**, void ()(libusb_transfer), char*, long long, unsigned char) in qusbendpoint.o
"_libusb_cancel_transfer", referenced from:
QUsbEndpointPrivate::stopTransfer() in qusbendpoint.o
"_libusb_claim_interface", referenced from:
QUsbDevice::open() in qusbdevice.o
"_libusb_close", referenced from:
QUsbDevice::close() in qusbdevice.o
"_libusb_detach_kernel_driver", referenced from:
QUsbDevice::open() in qusbdevice.o
"_libusb_event_handling_ok", referenced from:
QUsbEventsThread::run() in qusbdevice.o
"_libusb_exit", referenced from:
QUsb::QUsb(QObject*) in qusb.o
QUsb::devices() in qusb.o
QUsb::~QUsb() in qusb.o
QUsb::QUsb(QObject*) (.cold.1) in qusb.o
QUsbDevicePrivate::~QUsbDevicePrivate() in qusbdevice.o
QUsbDevicePrivate::~QUsbDevicePrivate() in qusbdevice.o
QUsbDevicePrivate::~QUsbDevicePrivate() in qusbdevice.o
...
"_libusb_free_device_list", referenced from:
QUsb::devices() in qusb.o
QUsb::devices() (.cold.1) in qusb.o
QUsbDevice::open() in qusbdevice.o
QUsbDevice::open() (.cold.2) in qusbdevice.o
"_libusb_free_transfer", referenced from:
QUsbEndpointPrivate::readUsb(long long) in qusbendpoint.o
cb_in(libusb_transfer*) in qusbendpoint.o
QUsbEndpointPrivate::writeUsb(char const*, long long) in qusbendpoint.o
cb_out(libusb_transfer*) in qusbendpoint.o
"_libusb_get_bus_number", referenced from:
QUsb::devices() in qusb.o
hotplugCallback(libusb_context*, libusb_device*, libusb_hotplug_event, void*) in qusb.o
QUsbDevice::open() in qusbdevice.o
"_libusb_get_configuration", referenced from:
QUsbDevice::open() in qusbdevice.o
"_libusb_get_device_descriptor", referenced from:
QUsb::devices() in qusb.o
hotplugCallback(libusb_context*, libusb_device*, libusb_hotplug_event, void*) in qusb.o
DeviceLeftCallback(libusb_context*, libusb_device*, libusb_hotplug_event, void*) in qusbdevice.o
QUsbDevice::open() in qusbdevice.o
"_libusb_get_device_list", referenced from:
QUsb::devices() in qusb.o
QUsbDevice::open() in qusbdevice.o
"_libusb_get_device_speed", referenced from:
QUsbDevice::open() in qusbdevice.o
"_libusb_get_port_number", referenced from:
QUsb::devices() in qusb.o
hotplugCallback(libusb_context*, libusb_device*, libusb_hotplug_event, void*) in qusb.o
QUsbDevice::open() in qusbdevice.o
"_libusb_handle_events_timeout_completed", referenced from:
QUsb::checkDevices() in qusb.o
QUsbEventsThread::run() in qusbdevice.o
"_libusb_has_capability", referenced from:
QUsb::QUsb(QObject*) in qusb.o
QUsbDevice::QUsbDevice(QObject*) in qusbdevice.o
"_libusb_hotplug_deregister_callback", referenced from:
QUsb::~QUsb() in qusb.o
"_libusb_hotplug_register_callback", referenced from:
QUsb::QUsb(QObject*) in qusb.o
QUsbDevice::QUsbDevice(QObject*) in qusbdevice.o
"_libusb_init", referenced from:
QUsb::QUsb(QObject*) in qusb.o
QUsb::devices() in qusb.o
QUsbDevicePrivate::QUsbDevicePrivate() in qusbdevice.o
"_libusb_kernel_driver_active", referenced from:
QUsbDevice::open() in qusbdevice.o
"_libusb_open", referenced from:
QUsbDevice::open() in qusbdevice.o
"_libusb_release_interface", referenced from:
QUsbDevice::close() in qusbdevice.o
"_libusb_set_configuration", referenced from:
QUsbDevice::open() in qusbdevice.o
"_libusb_set_option", referenced from:
QUsb::QUsb(QObject*) in qusb.o
QUsb::devices() in qusb.o
QUsb::setLogLevel(QUsb::LogLevel) in qusb.o
QUsbDevice::QUsbDevice(QObject*) in qusbdevice.o
QUsbDevice::setLogLevel(QUsb::LogLevel) in qusbdevice.o
"_libusb_strerror", referenced from:
QUsbDevice::open() in qusbdevice.o
"_libusb_submit_transfer", referenced from:
QUsbEndpointPrivate::readUsb(long long) in qusbendpoint.o
QUsbEndpointPrivate::writeUsb(char const*, long long) in qusbendpoint.o
cb_out(libusb_transfer*) in qusbendpoint.o
"_libusb_unlock_events", referenced from:
QUsbEventsThread::run() in qusbdevice.o

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants