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

Will not build for MacBook Air M1 user Rosetta2 #326

Open
bmentink opened this issue Dec 18, 2020 · 0 comments
Open

Will not build for MacBook Air M1 user Rosetta2 #326

bmentink opened this issue Dec 18, 2020 · 0 comments

Comments

@bmentink
Copy link

Hi,

Tried to build using a Rosetta2 terminal session (so should build for Intel64), but get the following error:

.......... .......... "_libusb_set_auto_detach_kernel_driver", referenced from: UploadFirmware::startUpload(USBDevice*) in uploadFirmware.cpp.o "_libusb_unref_device", referenced from: USBDevice::~USBDevice() in usbdevice.cpp.o USBDevice::disconnectFromDevice() in usbdevice.cpp.o USBDevice::bulkTransfer(unsigned char, unsigned char const*, unsigned int, int, unsigned int) in usbdevice.cpp.o USBDevice::controlTransfer(unsigned char, unsigned char, unsigned char*, unsigned int, int, int, int) in usbdevice.cpp.o "_qt_resourceFeatureZlib", referenced from: qCleanupResources_application() in qrc_application.cpp.o (anonymous namespace)::initializer::~initializer() in qrc_application.cpp.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [openhantek/OpenHantek] Error 1 make[1]: *** [openhantek/CMakeFiles/OpenHantek.dir/all] Error 2 make: *** [all] Error 2

Looks like it has incorrectly picked up arm64 arch

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

No branches or pull requests

1 participant