Closed MelbourneDeveloper closed 3 years ago
Here's one:
https://github.com/MelbourneDeveloper/Device.Net/tree/develop/src/Device.Net.MacOSLibUsbSample
It relates to this issue: https://github.com/LibUsbDotNet/LibUsbDotNet/issues/82
Have a read of this wiki: https://github.com/MelbourneDeveloper/Device.Net/wiki/Linux-and-MacOS-Support
Hey @MelbourneDeveloper did you have to do anything special on MacOS to install libusb? I'm having trouble getting libusb-1.0 to load successfully at runtime: (see https://github.com/scottpidzarko/USBSession/issues/5)
@scottpidzarko I'm pretty sure I installed libusb with homebrew
I installed it with homebrew too but I for the life of me can't get it to find the dylib
Got it to find the dylib - apparently dotnet core wants it in the bin/netcoreapp3.1 folder 🤦
OSX sample code for 2.2.29:
We can probably close this.
Try the latest v2 branch and it works well under macOS. Latest main branch also works fine except with those using async.
Any MacOS samples floating around?