bensondaled / pseyepy

PSEye-py: a python interface to the PS3Eye camera
Apache License 2.0
78 stars 26 forks source link

libusb.h no found on install #10

Open Gadgeteering opened 3 years ago

Gadgeteering commented 3 years ago

pseyepy/src/ps3eye.h:20:10: fatal error: 'libusb.h' file not found

include "libusb.h"

     ^~~~~~~~~~
osskar12 commented 3 years ago

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

iRonJ commented 3 years ago

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

osskar12 commented 3 years ago

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 commented 3 years ago

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