Finding header files [message #170771] |
Mon, 05 June 2006 10:08  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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!
>
|
|
|
Powered by
FUDForum. Page generated in 0.04372 seconds