g810-led icon indicating copy to clipboard operation
g810-led copied to clipboard

Error with `make install`

Open aakodadi opened this issue 3 years ago • 1 comments

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

aakodadi avatar Dec 26 '21 22:12 aakodadi

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

Esysteme avatar Sep 05 '22 23:09 Esysteme