Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Finding header files
Finding header files [message #170771] Mon, 05 June 2006 10:08 Go to next message
Eclipse UserFriend
Originally posted by: jchang.mit.edu

I have imported my code into eclipse, along with a makefile. There are
really only two files, a header and a source file. However, the source
file is for some reason not able to find the header file. I get a file or
directory not found error. Do you have any idea why this may be? I have
selected the automated discovery option in the build preferences. Thanks!
Re: Finding header files [message #170941 is a reply to message #170771] Tue, 06 June 2006 14:37 Go to previous message
Eclipse UserFriend
Originally posted by: divis1969.mail.ru

Where do you see this error? Am I right that the header and source files are
in the seprate directories?
If this is indexer problem or you are unable to use F3 (go to declaration),
you have several ways to fix it.
1. Manually add the header directory using project properties->Include Paths
and symbols.
2. Feed the scanner with the output of your build (Discovery Options page).
You can build your project and (I hope) scanner will detect all the include
directories. If this will not work for you, try to store the build log into
file and feed it manually (on same page)

Dmitry

"Joshua Chang" <jchang@mit.edu> wrote in message
news:1e306a6e4bedb60f541c864f0a5bf43c$1@www.eclipse.org...
>I have imported my code into eclipse, along with a makefile. There are
>really only two files, a header and a source file. However, the source
>file is for some reason not able to find the header file. I get a file or
>directory not found error. Do you have any idea why this may be? I have
>selected the automated discovery option in the build preferences. Thanks!
>
Previous Topic:error parsing
Next Topic:Attaching to an existing process
Goto Forum:
  


Current Time: Fri Jul 25 17:23:20 EDT 2025

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

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

Back to the top