stdio.h is missing

Programming, for all ages and all languages.
Post Reply
User avatar
bloodhound23
Member
Member
Posts: 115
Joined: Wed Jan 23, 2008 7:13 pm
Contact:

stdio.h is missing

Post by bloodhound23 »

I've recently started using Ubuntu, after writing a little test application:

Code: Select all

#include <stdio.h>

int main()
{
     printf("eat me");

}
the compiler said stdio.h was not found, I did a search of the entire filesystem for stdio.h and only came up with nostdio.h.
Any ideas on how to solve this?
I thought I wasn't thinking, I thought wrong.
nick8325
Member
Member
Posts: 200
Joined: Wed Oct 18, 2006 5:49 am

Post by nick8325 »

Try installing build-essential via synaptic or apt-get.
User avatar
bloodhound23
Member
Member
Posts: 115
Joined: Wed Jan 23, 2008 7:13 pm
Contact:

Post by bloodhound23 »

thanks, that solved the problem.
I thought I wasn't thinking, I thought wrong.
User avatar
bloodhound23
Member
Member
Posts: 115
Joined: Wed Jan 23, 2008 7:13 pm
Contact:

Post by bloodhound23 »

now I can start work on an image file tool for my filesystem
I thought I wasn't thinking, I thought wrong.
Post Reply