Library not loaded: /usr/local/opt/libusb-compat/lib/libusb-0.1.4.dylib

Hello,

I am new to digispark arduino chip and trying to put a basic code in digispark chip.

I am getting below error while uploading code for digispark chip.

dyld[3590]: Library not loaded: /usr/local/opt/libusb-compat/lib/libusb-0.1.4.dylib
  Referenced from: /Users/XXXXXXX/Library/Arduino15/packages/digistump/tools/micronucleus/2.6/micronucleus
  Reason: tried: '/usr/local/opt/libusb-compat/lib/libusb-0.1.4.dylib' (no such file), '/usr/local/lib/libusb-0.1.4.dylib' (no such file), '/usr/lib/libusb-0.1.4.dylib' (no such file)
Failed uploading: uploading error: signal: abort trap

Note: I am using Improved version of Digistump avr core, instead of standard digispark board url, because I am using macbook pro m2 chip in which 32 bit binaries are not supported(issue url).

Screeshot:

Looking forward for support.
Thank you.

1 Like

Yes. I have the same problem. My MacBook Pro has the M1 chip though so, I'm not sure that's the problem...

1 Like

Yes, I also think the problem is with the silicon chip, because I am able to upload the same code with same board configuration( Digistump avr core) from a different pc that have linux mint install in it.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.