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?

有帮助吗?

解决方案

Used Mark's solution by installing build-essentials solved the problem for me.

其他提示

Try sudo apt-get install build-essential to make sure the header files are installed. I did it and worked !

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top