Skip to content
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

fatal error: 'usb.h' file not found #5

Open
andyOfOtter opened this issue Mar 4, 2021 · 5 comments
Open

fatal error: 'usb.h' file not found #5

andyOfOtter opened this issue Mar 4, 2021 · 5 comments

Comments

@andyOfOtter
Copy link

using
python setup.py build
fails with

building 'aksyx' extension
cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -arch i386 -pipe -DAKSY_DEBUG=0 -I/usr/local/Cellar/libusb-compat/0.1.5_1/include -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/aksyx/aksyx.c -o build/temp.macosx-10.10-intel-2.7/src/aksyx/aksyx.o
src/aksyx/aksyx.c:5:10: fatal error: 'usb.h' file not found
#include <usb.h>
^
1 error generated.
error: command 'cc' failed with exit status 1

same error on two Macs, one running 10.10.5, the other 10.12
both running Python 2.7.10

@watzo
Copy link
Owner

watzo commented Mar 4, 2021

Hi Andy,

I could reproduce this issue - the (old) version of libusb is missing. Given you have Homebrew installed, run:

brew install libusb-compat

and let me know how that went.

@andyOfOtter
Copy link
Author

andyOfOtter commented Mar 4, 2021 via email

@watzo
Copy link
Owner

watzo commented Mar 4, 2021

BTW cool that you're trying it out! I guessed the number of people still using hardware samplers has slowly declined over the last years :-)

@andyOfOtter
Copy link
Author

andyOfOtter commented Mar 4, 2021 via email

@andyOfOtter
Copy link
Author

andyOfOtter commented Mar 4, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants