pseyepy icon indicating copy to clipboard operation
pseyepy copied to clipboard

libusb.h no found on install

Open Gadgeteering opened this issue 4 years ago • 4 comments

pseyepy/src/ps3eye.h:20:10: fatal error: 'libusb.h' file not found #include "libusb.h" ^~~~~~~~~~

Gadgeteering avatar Nov 27 '20 17:11 Gadgeteering

Hi, have you solved this issue? I am running into the same on Ubuntu 18.04

osskar12 avatar Apr 28 '21 11:04 osskar12

Try this branch https://github.com/iRonJ/pseyepy

iRonJ avatar Apr 28 '21 14:04 iRonJ

Thank you for the quick answer, but i still run into the same error:

In file included from pseyepy/src/ps3eye_capi.h:29:0, from pseyepy/cameras.cpp:658: pseyepy/src/ps3eye.h:20:10: fatal error: libusb-1.0/libusb.h: file not found #include <libusb-1.0/libusb.h>

Do I have to move some libusb files in different directories? I tried some options, but was not successfull.

osskar12 avatar Apr 28 '21 14:04 osskar12

Solved the issue.

The relevant error line was actually:

configure: error: "udev support requested but libudev not installed"

I installed libudev with sudo apt install libudev-dev and the install worked

osskar12 avatar Apr 29 '21 09:04 osskar12