Include Stdio.h Error
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of fatal error stdio.h no such file or directory #include stdio.h ^ compilation terminated this site About Us Learn more about Stack Overflow the company Business Learn
Stdio.h No Such File Or Directory Ubuntu
more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question
Fatal Error: Stdio.h: No Such File Or Directory Mac
x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up
Stdio.h No Such File Or Directory Linux Mint
GCC fatal error: stdio.h: No such file or directory up vote 23 down vote favorite 7 I'm trying to compile a program in C on OS X 10.9 with GCC 4.9 (experimental). For some reason, I'm getting the following error at compile time: gcc: fatal error: stdio.h: No such file or directory I then tried a simple Hello World program: #include
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn stdio.h no such file or directory windows more about Stack Overflow the company Business Learn more about hiring developers or posting fatal error stdio.h no such file or directory windows ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community fatal error: stdio.h: no such file or directory arm Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Unable to compile simple c program in Linux Mint 15 http://stackoverflow.com/questions/19580758/gcc-fatal-error-stdio-h-no-such-file-or-directory up vote 7 down vote favorite 5 I am a Linux Mint 15 User. i wanted to write simple program in C. Below is my code.(hw.c) #include
Ubuntu 12.10. now it tells me stdio.h no such file. The test file is std hello.c file #include < stdio.h > void main() { printf("\nHello World\n"); https://answers.launchpad.net/ubuntu/+source/gcc-defaults/+question/216281 } !gcc hello.c hello.c:1:21: fatal error: stdio.h : No such file or directory compilation terminated. shell returned 1 installed build-essential cliffm@cjm:~$ sudo apt-get install build-essential [sudo] password for cliffm: Reading package http://www.ibm.com/support/knowledgecenter/SSB23S_1.1.0.13/common/m1rhsio.html lists... Done Building dependency tree Reading state information... Done build-essential is already the newest version. build-essential set to manually installed. Still will not compile? Thanks for any help Question information Language: no such English Edit question Status: Solved For: Ubuntu gcc-defaults Edit question Assignee: No assignee Edit question Solved by: marcobra (Marco Braida) Solved: 2012-12-09 Last query: 2012-12-09 Last reply: 2012-12-09 Related bugs Link existing bug Related FAQ: None Link to a FAQ This question was reopened 2012-12-09 by Cliffm marcobra (Marco Braida) (marcobra) said on 2012-12-08: #1 try to install libc6-dev Cliffm (c2mcatee) said on no such file 2012-12-08: #2 Hi Marco This is the result. sudo apt-get install libc6-dev [sudo] password for cliffm: Reading package lists... Done Building dependency tree Reading state information... Done libc6-dev is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. marcobra (Marco Braida) (marcobra) said on 2012-12-08: #3 #include "stdio.h" void main() { printf("\nHello World\n"); } Try this... marcobra (Marco Braida) (marcobra) said on 2012-12-08: #4 compile with gcc -o hello -ansi hello.c marcobra (Marco Braida) (marcobra) said on 2012-12-08: #5 Run with ./hello marcobra (Marco Braida) (marcobra) said on 2012-12-08: #6 remove spaces in