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

I've followed the "getting started" guide to setup VSCode environment on MacOS (10.14.2).
When I attempt to flash the application using the "Particle: Flash application (local)" task, the toolchain encounters:

dyld: Library not loaded: /usr/local/opt/libusb/lib/libusb-1.0.0.dylib
Referenced from: /Users/abmh763/.particle/toolchains/buildtools/1.0.1//dfu-suffix
Reason: image not found

Before exiting (exit code : 2)

Is there any other dependencies required

can you try installing “libusb” (easiest way i’ve found is to use homebrew - brew install libusb) and see if that fixes things?

1 Like

Thanks! I’ve made progress, now on to “No DFU capable USB device available” error

Many thanks, once again

for future reference, we’ve collected a handful of known-gotchas on linux / ubuntu and their work-arounds over here:

https://docs.particle.io/support/particle-tools-faq/workbench/#linux-tips