"Unresolved inclusion: <stdio.h>" [message #913652] |
Sat, 15 September 2012 20:33  |
Eclipse User |
|
|
|
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?
|
|
|
|
Powered by
FUDForum. Page generated in 0.04172 seconds