Used Mark's solution by installing build-essentials solved the problem for me.
Compiling C program from a second hard drive - stdio.h not found
-
21-09-2022 - |
Question
I am on Linux Mint 16 and I am trying to execute a C file on a 2nd hard drive. When I try to compile it, I get this error:
hello.c:1:19: fatal error: stdio.h: No such file or directory
#include <stdio.h>
How can I compile this C file on the 2nd hard drive?
La solution
Autres conseils
Try sudo apt-get install build-essential
to make sure the header files are installed. I did it and worked !
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow