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
Won't compile on MacOS Sierra #30
Comments
Hi,
this means the libusb is not installed or cannot be found.
…On Thu, Mar 2, 2017 at 6:55 PM, Jorell Linsangan ***@***.***> wrote:
Hi,
I'm currently trying to install pyuvc using this fork
<https://github.com/CarlosRDomin/pyuvc>.
Running python setup.y install gives me this error.
running install
running build
running build_ext
building 'uvc' extension
/usr/bin/clang -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch x86_64 -g -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include -I/usr/local/opt/jpeg-turbo/include/ -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c uvc.c -o build/temp.macosx-10.6-intel-2.7/uvc.o
uvc.c:459:10: fatal error: 'libusb-1.0/libusb.h' file not found
#include "libusb-1.0/libusb.h"
^
1 error generated.
error: command '/usr/bin/clang' failed with exit status 1```
I couldn't find anything online to help me fix this issue. I'm hoping you guys have some answers. Thank you!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#30>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABXgp5w2xoNRNrOH-zEeqUQ5MdCgPNQvks5rhwKtgaJpZM4MRUe4>
.
|
I have it installed. The main issue is it can't find it. So my question is would you guys be able to offer help in order for pyuvc to locate libusb. |
if you installed libusb with homebrew. Please check using brew doctor and also do brew link libusb |
To anyone who also meets this problem, Here is a solution on macOS 10.14.1, When you run
If you get
Try copy the libusb-1.0 to the include dir like this:
After that, try run make && sudo make install again. If you see error like:
run
|
* Replace pep517.build with build Resolves #30 * Prefer simple usage Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
* Use `extend-ignore` in flake8 config This option allows to add extra ignored rules to the default list instead of replacing it. The default exclusions are: E121, E123, E126, E226, E24, E704, W503 and W504. Fixes #28. Refs: * https://github.com/pypa/setuptools/pull/2486/files#r541943356 * https://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-extend-ignore * https://flake8.pycqa.org/en/latest/user/options.html#cmdoption-flake8-ignore * Enable complexity limit. Fixes jaraco/skeleton#34. * Replace pep517.build with build (#37) * Replace pep517.build with build Resolves #30 * Prefer simple usage Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> * Use license_files instead of license_file in meta (#35) Singular `license_file` is deprecated since wheel v0.32.0. Refs: * https://wheel.readthedocs.io/en/stable/news.html * https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
Hi,
I'm currently trying to install pyuvc using this fork .
Running
python setup.y install
gives me this error.I couldn't find anything online to help me fix this issue. I'm hoping you guys have some answers. Thank you!
The text was updated successfully, but these errors were encountered: