-
Notifications
You must be signed in to change notification settings - Fork 184
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
not compiled in ubuntu 18.04 #100
Comments
I guess we'd need a configure script or a full autotools setup to handle varying libusb locations portably. Philipp |
Same problem on debian too, it's located at /usr/include/libusb-1.0/libusb.h |
same file location on ubuntu 20.04, but stm8flash compiles OK. |
Debian 11 and Ubuntu 20.04 reporting. Package libusb-1.0-0-dev places the libusb.h in /usr/include/libusb-1.0/libusb.h in both distros. stm8flash compiled successfully after installing pkg-config.
|
pkg-config does it. |
For me (Debian GNJ/Linux testing) it always worked fine via the pkg-config in the Makefile. |
sudo apt-get install pkg-config
sudo apt-get install libusb-1.0-0-dev
You need to change the path to the libusb in the
stm8flash/pgm.h
file on#include </usr/include/libusb-1.0/libusb.h>
The text was updated successfully, but these errors were encountered: