Gibtnix / MSIKLM

Control the SteelSeries keyboard of your MSI gaming notebook with Linux
GNU General Public License v3.0
242 stars 50 forks source link

compilation terminated #55

Open rodionovd89 opened 4 months ago

rodionovd89 commented 4 months ago

Hello, thank you for the tool. For some reasons I cannot complete installation. Compiling of MSIKLM fails. Any ideas why?

Reading package lists... Done Building dependency tree... Done Reading state information... Done gcc is already the newest version (4:11.2.0-1ubuntu1). make is already the newest version (4.3-4.1build1). libhidapi-dev is already the newest version (0.11.2-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Dependencies successfully installed Compiling MSIKLM... gcc -m64 -pipe -O3 -Wall -W -D_REENTRANT -c src/main.c -o .obj/main.o src/main.c:7:10: fatal error: stdio.h: No such file or directory 7 | #include | ^~~~~ compilation terminated. make: *** [Makefile:38: .obj/main.o] Error 1 Compiling failed

Gibtnix commented 4 months ago

You are missing a basic package. On Ubuntu, try sudo apt install libc6-dev, on other distributions the package name could be different.