Skip to content
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

Error with make install #279

Open
aakodadi opened this issue Dec 26, 2021 · 1 comment
Open

Error with make install #279

aakodadi opened this issue Dec 26, 2021 · 1 comment

Comments

@aakodadi
Copy link

I get the following error when I run sudo make install:

make: *** [makefile:69: setup] Error 1

This happens with libusb and hidapi.

Environment

$ uname -a
Linux my-pc 5.15.10-artix1-1 #1 SMP PREEMPT Sat, 18 Dec 2021 00:44:03 +0000 x86_64 GNU/Linux
$ make --version
GNU Make 4.3
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
$ pacman -Qs libusb
local/hidapi 0.11.0-1
    Simple library for communicating with USB and Bluetooth HID devices
local/libusb 1.0.24-2
    Library that provides generic access to USB devices

I am using g810-led v0.4.2, commit id 5ee810a520f809e65048de8a8ce24bac0ce34490

@Esysteme
Copy link

Esysteme commented Sep 5, 2022

make lib LIB=libusb
g++ -Dlibusb -Wall -O2 -std=gnu++11 -DVERSION=\"0.4.0\"  -fPIC -shared -Wl,-soname,libg810-led.so -o lib/libg810-led.so.0.4.0 src/classes/Keyboard.cpp -lusb-1.0
root@aurelien-xps:/srv/code/g33# make install-lib
root@aurelien-xps:/srv/code/g33# make install-dev
root@aurelien-xps:/srv/code/g33# make bin LIB=libusb
g++ -Dlibusb -Wall -O2 -std=gnu++11 -DVERSION=\"0.4.0\"  src/main.cpp src/helpers/utils.cpp src/helpers/help.cpp src/classes/Keyboard.cpp -o bin/g810-led -lusb-1.0
root@aurelien-xps:/srv/code/g33# make install
Matching or compatible device not found !
make: *** [makefile:89 : install] Erreur 2

I got this with PR from g915

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants