Pergunta

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?

Foi útil?

Solução

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

Outras dicas

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top