Unresolved inclusion: <stdio.h> in Eclipse helios (Windows 7 64bit)

Belgi picture Belgi · Oct 18, 2013 · Viewed 22.3k times · Source

I am trying to install Eclipse on my computer: I have a 64bit Windows 7.

I have installed a 64bit Java, and a 64bit version of Eclipse helios (C/C++).

When I tried to compile a hello world project I got an error

Unresolved inclusion: < stdio.h>

I have inserted another space since the text didn't render.

I have tried looking for solutions on this site and on Google, but the best thing I found was this post.

But I don't know where to locate stdio.h myself.. I have used the search on my computer and didn't find such a file. maybe I don't have one, what should I do ?

Answer

N A picture N A · Oct 18, 2013

The location of your headers depends on what tool chain you are using. You can go to Properties -> C/C++ Build -> Tool Chain Editor to find out which it is. Once you know that, you need to locate the headers and include them (in manner your post suggests). For example here is example of someone having the same issue with MinGW tool chain. Find you about your tool chain and I will attempt to guide you if I will be able to.