pupil-labs / pyuvc

python binding to libuvc
Other
119 stars 51 forks source link

fatal error: 'libusb-1.0/libusb.h' file not found #69

Closed yurikleb closed 4 years ago

yurikleb commented 4 years ago

I'm trying to install the libuvc dependency on MAC OSX 10.15.1 I'm following the commands in the readme The Cmake .. command was completed sucessfully Next, when running make && sudo make install I'm getting the following error:

[ 11%] Building C object CMakeFiles/uvc.dir/src/ctrl.c.o
In file included from /Users/yurikleb/Projects/libuvc/src/ctrl.c:43:
/Users/yurikleb/Projects/libuvc/include/libuvc/libuvc_internal.h:15:10: fatal error: 
      'libusb-1.0/libusb.h' file not found
#include <libusb-1.0/libusb.h>
papr commented 4 years ago

Please install libusb, e.g. with brew install libusb.

yurikleb commented 4 years ago

Thanks for the quick response!

Installing libusb and copying it into build/include folder solved the error above but I still can't compile.

Moving conversation here: https://github.com/pupil-labs/libuvc/issues/36