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

Tags: #<Tag:0x00007f0390ecdcf0>


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?


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

Many thanks, once again