Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » !!!FATAL ERROR!!!: No such file or directory??
icon5.gif  !!!FATAL ERROR!!!: No such file or directory?? [message #760160] Thu, 01 December 2011 08:52 Go to next message
Eclipse UserFriend
Long story short, Eclipse exploded and I had to reinstall, now I get this whenever I try to include a header file file:

"Fatal error: Filename.h: No such file or directory"

Any ideas? How do I tell eclipse where to look for source and #include files?

[Updated on: Thu, 01 December 2011 20:28] by Moderator

Re: !!!FATAL ERROR!!!: No such file or directory?? [message #760346 is a reply to message #760160] Thu, 01 December 2011 21:35 Go to previous message
Eclipse UserFriend
Ok I finally found out that the problem was my GC++ include directories (I had preivously been looking under C/C++ General -> Paths and Symbols, which wasn't helping).

To fix it I went to Project -> Properties -> C/C++ Build -> Settings, then under "Cross G++ Compiler" I clicked on "Includes" and manually added all the directories. If someone knows of a command to include all directories and subdirectories of the project, or just to get it to include all project files in the first place (that would be ideal), please let me know.
Previous Topic:file not recognized: File format not recognized
Next Topic:Returning structure reference in a C function
Goto Forum:
  


Current Time: Wed Jul 30 13:33:11 EDT 2025

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

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

Back to the top