Sapd / HeadsetControl

Sidetone and Battery status for Logitech G930, G533, G633, G933 SteelSeries Arctis 7/PRO 2019 and Corsair VOID (Pro) in Linux and MacOSX
GNU General Public License v3.0
1.47k stars 178 forks source link

Error during build #344

Closed eamanu closed 6 months ago

eamanu commented 7 months ago

Description

Hi,

After install prerequisites and run the build steps I have this error during make run

▶ make 
[  3%] Linking C executable headsetcontrol
/usr/bin/ld: CMakeFiles/headsetcontrol.dir/src/output.c.o: in function `initializeStatus':
output.c:(.text+0x712): undefined reference to `hid_version_str'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/headsetcontrol.dir/build.make:520: headsetcontrol] Error 1
make[1]: *** [CMakeFiles/Makefile2:337: CMakeFiles/headsetcontrol.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

On which OS does the problem happen?

Linux

eamanu commented 7 months ago

Sorry for the noise, it's a not bug. I check and I'm using an old version of libhidapi-dev.

libhidapi-dev/focal,now 0.9.0+dfsg-1 amd64 [installed]

Perhaps, it would be great add a notice in readme about the versions of libs to install?