質問

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