-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libusb problem on M1 Mac #44
Comments
Hello, Sorry for the inconvenience. |
This worked for me: Download the source from github.com: Build it in the standard way: $ tar xvfj libusb-1.0.26.tar.bz2 Then you can continue on with uldaq installation at ./configure && make |
Oddly I still get the same error on ./configure- possibly not connecting to the right "libusb"? I am stumped by this. Library libusb-1.0 was not found on this system. |
no promises but something else you could try, would be to install MacPorts While I was working on the solution on my MacBook Pro 14, I had installed this along the way. |
@etjensen could you please check your /opt/homebrew/lib/ folder to see if the libusb-1.0.0.dylib file is installed there? |
I was able to get past this by adding some additional flags pointing directly at homebrew: Then we can make normally |
Hi, I'm new here, so bear with me. Then I got some 27 warnings during In summary I got it working and I can now collect data with my MCC USB-1808X, on my Mac. |
I cannot build the library on an M1 Mac- ./configure gives an error:
even though I have installed libusb using homebrew and it claims that it is a universal build.
config.log says:
configure:16180: checking for libusb_init in -lusb-1.0 configure:16205: gcc -o conftest -O3 conftest.c -libusb-1.0 -framework IOKit -framework CoreFoundation >&5 ld: library not found for -libusb-1.0 clang: error: linker command failed with exit code 1 (use -v to see invocation) configure:16205: $? = 1 configure: failed program was: | /* confdefs.h */
The build on my x86 iMac seemed to work fine.
The text was updated successfully, but these errors were encountered: