Grix / helios_dac

Helios Laser DAC
https://bitlasers.com/helios-laser-dac/
Other
82 stars 25 forks source link

compiling shared library for macs #20

Closed jdeboi closed 3 years ago

jdeboi commented 3 years ago

Admittedly I didn't totally know what I was doing, but when I compiled the shared library on my Mac, I got the error, " warning: ignoring file libusb-1.0.so, building for macOS-x86_64 but attempting to link with file built for unknown-unsupported file format."

I resolved the issue by replacing libusb-1.0.so with libusb-1.0.0.dylib in the g++ command. This might be an obvious substitution, but I struggled to figure this out for a while. Might be helpful to others to include a hint in the readme. thanks!

Grix commented 3 years ago

Thanks, I will make a note of it in the readme.