-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Description
Arduino IDE Version 2.3.6
CH32 MCU EVT Boards 1.0.4
MacOS Sequoia 15.5 (M1 Pro)
When installing on MacOS with Apple Silicon, brew install libusb
places the dylib in /opt/homebrew/Cellar/libusb/1.0.29/lib/libusb-1.0.0.dylib
which does not appear to be in the search path
When symlinking this to /usr/local/lib/libusb-1.0.0.dylib so it can be found, it then errors saying that the dylib is for 'arm64' and it's looking for 'x86_64'
dyld[47342]: Library not loaded: /usr/local/opt/libusb/lib/libusb-1.0.0.dylib
Referenced from: <C79B1DDB-9DAE-30AE-9474-2E146265EC5A> ~/Library/Arduino15/packages/WCH/tools/openocd/1.0.0/bin/openocd
Reason: tried:
'/usr/local/opt/libusb/lib/libusb-1.0.0.dylib' (no such file),
'/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/libusb/lib/libusb-1.0.0.dylib' (no such file),
'/usr/local/opt/libusb/lib/libusb-1.0.0.dylib' (no such file),
'/usr/local/lib/libusb-1.0.0.dylib' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')),
'/usr/lib/libusb-1.0.0.dylib' (no such file, not in dyld cache)
Failed uploading: uploading error: signal: abort trap
Metadata
Metadata
Assignees
Labels
No labels