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 - |
题
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?
解决方案
其他提示
Try sudo apt-get install build-essential
to make sure the header files are installed. I did it and worked !
不隶属于 StackOverflow