-
Notifications
You must be signed in to change notification settings - Fork 6
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
Comments
Hi Andy, I could reproduce this issue - the (old) version of libusb is missing. Given you have Homebrew installed, run:
and let me know how that went. |
Will try that now on the 10.10
… On 4 Mar 2021, at 19:56, watzo ***@***.***> wrote:
brew install libusb-compat
|
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 :-) |
I was quite prepared to go the old school route (despite having the altogether rare USB board) but then saw your github!
My bet is if an AkSys replacement was well know there will be a revival….
I’m afraid Homebrew install failed: After installing Xcode tools (thought I had it but Apple thought not)
and a Veeery long wait I got:
==> Pouring portable-ruby-2.6.3_2.yosemite.bottle.tar.gz
Warning: You are using macOS 10.10.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.
Error: git: no bottle available!
You can try to install from source with:
brew install --build-from-source git
Please note building from source is unsupported. You will encounter build
failures with some formulae. If you experience any issues please create pull
requests instead of asking for help on Homebrew's GitHub, Twitter or any other
official channels.
Error: 'git' must be installed and in your PATH!
Failed during: /usr/local/bin/brew update --force --quiet
On trying>>> brew install --build-from-source git
Warning: You are using macOS 10.10.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.
==> Downloading https://ftp.gnu.org/gnu/gettext/gettext-0.21.tar.xz
######################################################################## 100.0%
==> Downloading https://ftp.pcre.org/pub/pcre/pcre2-10.36.tar.bz2
######################################################################## 100.0%
==> Downloading https://mirrors.edge.kernel.org/pub/software/scm/git/git-htmldoc
curl: (35) SSL peer handshake failed, the server most likely requires a client certificate to connect
Error: Failed to download resource "git--html"
Download failed: https://mirrors.edge.kernel.org/pub/software/scm/git/git-htmldocs-2.30.1.tar.xz
I’m stumbling around in the dark here;
Any further suggestions?
Cheers
Andy
… On 4 Mar 2021, at 19:59, watzo ***@***.***> wrote:
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 :-)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#5 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AHC7XK2Z47BBR6RC5AB3FGDTB7RBFANCNFSM4YT362BQ>.
|
OK. Just tried on the 10.12 machine. Home-brew installed fine with a different command.
brew install libusb-compat
completed with following warning:
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/aksyxusb.c -o build/temp.macosx-10.12-intel-2.7/src/aksyx/aksyxusb.o
src/aksyx/aksyxusb.c:982:22: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int'
[-Wshorten-64-to-32]
bytes_read = fread(buf, sizeof(char), blocksize, fp);
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
src/aksyx/aksyxusb.c:833:20: warning: implicit conversion loses integer precision: 'off_t' (aka 'long long') to
'unsigned long' [-Wshorten-64-to-32]
filesize = st->st_size;
~ ~~~~^~~~~~~
1 warning generated.
cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386 -Wl,-F. build/temp.macosx-10.12-intel-2.7/src/aksyx/aksyx.o build/temp.macosx-10.12-intel-2.7/src/aksyx/aksyxusb.o -L/usr/local/Cellar/libusb-compat/0.1.5_1/lib -lusb -o build/lib.macosx-10.12-intel-2.7/aksyx.so
ld: warning: ignoring file /usr/local/Cellar/libusb-compat/0.1.5_1/lib/libusb.dylib, file was built for x86_64 which is not the architecture being linked (i386): /usr/local/Cellar/libusb-compat/0.1.5_1/lib/libusb.dylib
Not near the AKAI right now, but I’ll give a test later
Cheers,
Andy
… On 4 Mar 2021, at 19:56, watzo ***@***.***> wrote:
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.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#5 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AHC7XK6PALXOWJG3Z57PCZ3TB7QXXANCNFSM4YT362BQ>.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
using
python setup.py build
fails with
same error on two Macs, one running 10.10.5, the other 10.12
both running Python 2.7.10
The text was updated successfully, but these errors were encountered: