tbocek / dvorak

Wayland keyboard remapping with dvorak - make ctrl-c ctrl-c again :)
Apache License 2.0
68 stars 18 forks source link

"Fatal error" while `make` #27

Closed lotc closed 5 months ago

lotc commented 10 months ago

Try to make on a fresh install Linux. report that

dvorak.c:64:10: fatal error: stdlib.h: No such file or directory
    64  |  #include <stdlib.h>
compilation terminated
make: *** [Makefile:13: all] Error 1

Is the problem of my GCC version or the code itself?

tbocek commented 6 months ago

Sorry for the late response, you need the dev libraries for libc. Something like this should help if you are using Ubuntu:

sudo apt-get install libc6-dev

Depending on your distro, the command may look different.

lotc commented 5 months ago

Alright, I will take a try. I'm using Linux Mint. Since it's Debian-based, I think it should work. Thanks for your reply.