Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » "Unresolved inclusion: <stdio.h>"
"Unresolved inclusion: <stdio.h>" [message #914923] Sun, 16 September 2012 00:33 Go to next message
Dylan Murray is currently offline Dylan MurrayFriend
Messages: 2
Registered: September 2012
Junior Member
Hi, I've been trying to get CDT on Eclipse Juno on my mac running Lion. I've been at it for about 3 hours now and I can't figure out what to do. I've written a very simple hello world program, but I get a warning on the line #include <stdio.h> that reads "Unresolved inclusion: <stdio.h>". Initially I discovered I didn't have gcc installed on my computer, so I downloaded Xcode and then installed the command line tools. Now, my research indicates that my issue is that I need to tell eclipse where to find the stdio.h file - my issue is that the stdio.h file is hidden in the package contents of the Xcode application. To clarify, Project Properties->C/C++ General->Paths/Symbols -- under "Languages" I see "GNU C". I highlight it, I click "Add..."->"File system...", but the directory I'm looking for is located within Xcode.app which is greyed-out/not selectable from this menu. Help?
Re: &quot;Unresolved inclusion: &lt;stdio.h&gt;&quot; [message #915203 is a reply to message #914923] Sun, 16 September 2012 20:12 Go to previous message
Marjon Zubiri is currently offline Marjon ZubiriFriend
Messages: 5
Registered: September 2012
Junior Member
You kind of spammed the forum. More than 10 threads were started with your topic. Google some more and you will find the answer eventually. I know... I did.

[Updated on: Sun, 16 September 2012 20:13]

Report message to a moderator

Previous Topic:how can we create make target into eclipse make target view and invoke from CDT code
Next Topic:Variadic template bug?
Goto Forum:
  


Current Time: Fri Oct 04 21:28:37 GMT 2024

Powered by FUDForum. Page generated in 0.03533 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top