stdio.h: No such file or directory
C
As a part of testing out Linux Mint XFCE 16, I created a simple “hello world” in C:
#include <stdio.h>
()
main{
("Hello, world!\n");
printf }
But, when I tried to compile it:
gcc hello.c
I got this:
stdio.h: No such file or directory
It seems that there are a few libraries that are not installed by default. It’s easy to add them, though:
sudo apt-get install build-essential
After doing this, the code compiles.