Closed cozycactus closed 2 years ago
btw, the current code works for me. I use brew install libusb1 which gives me the LIBUSB_API_VERSION=0x01000109
btw, the current code works for me. I use brew install libusb1 which gives me the LIBUSB_API_VERSION=0x01000109
As far as i know there is no official libusb1 package in homebrew on macOS. I see only libusb-compat and libusb.
it is a typo, should be libusb, which is 1.0.26 version for now. https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/libusb.rb
it is a typo, should be libusb, which is 1.0.26 version for now. https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/libusb.rb
i'm using 1.0.26 version , still have this error
$ ./sddc_stream_test ../../SDDC_FX3.img 2000000 RX888 | firmware 202 RadioHandlerClass::Stop 0 RadioHandlerClass::Start frame_size = 138240, iso_packets_per_frame = 135 ERROR - libusb_dev_mem_alloc() failed in streaming_open_async at /Users/cozy/ExtIO_sddc/Core/arch/linux/streaming.c:144 started streaming .. for 3000 ms ..
I believe this is not related to OSX but libusb version. I suggest remove linux check and also use a macro to avoid change the same thing at two places.