Fatal error <stdio.h> no such file in directory | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Fatal error <stdio.h> no such file in directory

I use ubuntu in oracle virtual machine of my windows, everything went fine editing using nano, but when i tried to compile it using gcc it shows: Fatal error <stdio.h> no such file in directory. How to fix this please?

27th Sep 2019, 12:01 AM
Draco Malfoy
Draco Malfoy - avatar
4 Answers
+ 1
I installed libc6-dev something and it finally worked for me. Thanks for yhe help
28th Sep 2019, 1:10 AM
Draco Malfoy
Draco Malfoy - avatar
0
How to fix?? Help me please
27th Sep 2019, 12:39 PM
Draco Malfoy
Draco Malfoy - avatar
0
I already did sudo apt-get install build-essential
27th Sep 2019, 12:39 PM
Draco Malfoy
Draco Malfoy - avatar
0
And sudo apt-get update
27th Sep 2019, 12:39 PM
Draco Malfoy
Draco Malfoy - avatar